Skip to content

Commit

Permalink
Sync ci and ci-ghcr workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
patrikjuvonen authored Apr 22, 2024
1 parent 4d97454 commit 7104c52
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci-ghcr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,14 @@ jobs:
digest="${{ steps.build.outputs.digest }}"
touch "/tmp/digests/${digest#sha256:}"
- name: Platform slug
id: platform-slug
run: echo "platform=${{ matrix.platform }}" | tr '/' '-' >> $GITHUB_OUTPUT

- name: Upload digest
uses: actions/upload-artifact@v4
with:
name: digests
name: digests-${{ steps.platform-slug.outputs.platform }}
path: /tmp/digests/*
if-no-files-found: error
retention-days: 1
Expand All @@ -89,8 +93,9 @@ jobs:
- name: Download digests
uses: actions/download-artifact@v4
with:
name: digests
path: /tmp/digests
pattern: digests-*
merge-multiple: true

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

0 comments on commit 7104c52

Please sign in to comment.