Skip to content

Commit

Permalink
ci: update artifact actions to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
vinceAmstoutz committed Dec 18, 2024
1 parent c0e0c2d commit d425fcc
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -195,21 +195,21 @@ jobs:
touch "/tmp/metadata/runner/${runnerDigest#sha256:}"
env:
METADATA: ${{ steps.build.outputs.metadata }}
-
name: Upload builder metadata

- name: Upload builder metadata
if: fromJson(needs.prepare.outputs.push)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: metadata-builder-${{ matrix.variant }}
name: metadata-builder-${{ matrix.variant }}-${{ github.ref_name }}-${{ github.run_id }}
path: /tmp/metadata/builder/*
if-no-files-found: error
retention-days: 1
-
name: Upload runner metadata
if: fromJson(needs.prepare.outputs.push)
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: metadata-runner-${{ matrix.variant }}
name: metadata-runner-${{ matrix.variant }}-${{ github.ref_name }}-${{ github.run_id }}
path: /tmp/metadata/runner/*
if-no-files-found: error
retention-days: 1
Expand Down Expand Up @@ -237,10 +237,11 @@ jobs:
steps:
-
name: Download metadata
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: metadata-${{ matrix.target }}-${{ matrix.variant }}
pattern: metadata-${{ matrix.target }}-${{ matrix.variant }}-${{ github.ref_name }}-${{ github.run_id }}
path: /tmp/metadata
merge-multiple: true
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit d425fcc

Please sign in to comment.