Skip to content

Commit

Permalink
Upgrade artifact upload/download to v4
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Kravec <[email protected]>
  • Loading branch information
kravciak committed Dec 21, 2023
1 parent fa29e4d commit 7f2bbe9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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-*

0 comments on commit 7f2bbe9

Please sign in to comment.