Skip to content

Commit

Permalink
Updated to actions/download-atrifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickBaus committed Dec 17, 2023
1 parent 2a204ac commit 35ca459
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,15 @@ jobs:
mkdir -p /tmp/digests
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
shell: bash

- name: Sanitize platform string
id: platform
env:
PLATFORM_STRING: ${{ matrix.platform }}
run: |
echo "value=${PLATFORM_STRING//\//_}" >> $GITHUB_OUTPUT
shell: bash

- name: Upload digest
if: needs.prepare.outputs.push == 'true'
Expand All @@ -116,10 +125,15 @@ jobs:
packages: write
steps:
- name: Download digests
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: digests
path: /tmp/digests
path: artifacts

- name: Merge artifacts
run: |
mkdir /tmp/digests
mv artifacts/*/* /tmp/digests
shell: bash

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand Down

0 comments on commit 35ca459

Please sign in to comment.