From 7f2bbe947aa8d4f7e7e2300035fd6947aa4bb4c7 Mon Sep 17 00:00:00 2001 From: Martin Kravec Date: Thu, 21 Dec 2023 19:13:18 +0100 Subject: [PATCH] Upgrade artifact upload/download to v4 Signed-off-by: Martin Kravec --- .github/workflows/container-image.yml | 2 +- .github/workflows/release.yml | 6 +++--- .github/workflows/sbom.yml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/container-image.yml b/.github/workflows/container-image.yml index 3d5108540..4d2fda73c 100644 --- a/.github/workflows/container-image.yml +++ b/.github/workflows/container-image.yml @@ -82,7 +82,7 @@ jobs: ghcr.io/${{github.repository_owner}}/kubewarden-controller:${{ env.TAG_NAME }} - name: Upload container image to use in other jobs if: ${{ inputs.push-image == false }} - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 with: name: kubewarden-controller-image-${{ env.TAG_NAME }} path: /tmp/kubewarden-controller-image-${{ env.TAG_NAME }}.tar diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index df7b4f816..79d168740 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -36,7 +36,7 @@ jobs: make generate-crds tar -czf CRDS.tar.gz -C generated-crds $(ls generated-crds) - name: Upload CRDs as artifacts - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 with: name: CRDS path: CRDS.tar.gz @@ -94,12 +94,12 @@ jobs: core.setFailed(`Draft release not found`) - name: Download SBOM artifact - uses: actions/download-artifact@7a1cd3216ca9260cd8022db641d960b1db4d1be4 # v4.0.0 + uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0 with: name: sbom - name: Download CRDs artifact - uses: actions/download-artifact@7a1cd3216ca9260cd8022db641d960b1db4d1be4 # v4.0.0 + uses: actions/download-artifact@f44cd7b40bfd40b6aa1cc1b9b5b7bf03d3c67110 # v4.1.0 with: name: CRDS diff --git a/.github/workflows/sbom.yml b/.github/workflows/sbom.yml index 06d6a7702..59038c7b4 100644 --- a/.github/workflows/sbom.yml +++ b/.github/workflows/sbom.yml @@ -77,7 +77,7 @@ jobs: ghcr.io/${{github.repository_owner}}/kubewarden-controller:${SBOM_TAG} - name: Upload SBOMs as artifacts - uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 + uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 with: name: sbom path: kubewarden-controller-sbom-*