build(deps): bump actions/upload-artifact from de65e23aa2b7e23d713bb51fbfcb6d502f8667d8 to 330a01c490aca151604b8cf639adc76d48f6c5d4 #23
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Copyright (C) 2025 Red Hat, Inc. | |
| # | |
| # Licensed under the Apache License, Version 2.0 (the "License"); | |
| # you may not use this file except in compliance with the License. | |
| # You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, software | |
| # distributed under the License is distributed on an "AS IS" BASIS, | |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | |
| # See the License for the specific language governing permissions and | |
| # limitations under the License. | |
| # | |
| # SPDX-License-Identifier: Apache-2.0 | |
| name: pr-build-extension | |
| on: | |
| pull_request: | |
| branches: [ 'main' ] | |
| jobs: | |
| pr-build-extension: | |
| name: Build OCI image | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| - name: Set image env var | |
| id: set-image | |
| run: echo "IMAGE=ghcr.io/${{ github.repository_owner }}/podman-desktop-image-checker-openshift-ext:pr-${{ github.event.pull_request.number }}" >> "$GITHUB_ENV" | |
| - name: Build image with podman | |
| shell: bash | |
| run: | | |
| echo "Building image ${IMAGE} with podman" | |
| podman build -t "${IMAGE}" -f Containerfile . | |
| podman save -m -o podman-desktop-image-checker-openshift-ext.tar "${IMAGE}" | |
| echo "${IMAGE}" > podman-desktop-image-checker-openshift-ext.image | |
| - name: Upload extension oci flatten images | |
| uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v4.6.2 | |
| with: | |
| name: podman-desktop-image-checker-openshift-ext | |
| path: podman-desktop-image-checker-openshift-ext* |