Skip to content

Commit

Permalink
ci: use unique artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
Crypta-Eve authored May 21, 2024
1 parent 5eea76b commit d10f858
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

- name: Get artifact name
id: getartifactname
run: echo "artifact=$(printf '%s-digests' ${{ matrix.image }} | sed 's/\//-/g;s/\./-/g')" >> "$GITHUB_OUTPUT"
run: echo "artifact=$(printf '%s-%s-digests' ${{ matrix.image }} ${{ matrix.platform }} | sed 's/\//-/g;s/\./-/g')" >> "$GITHUB_OUTPUT"

# Define tagging policy
# - everything coming in another branch than default one is considered edge (unstable)
Expand Down Expand Up @@ -119,13 +119,17 @@ jobs:
strategy:
fail-fast: false
matrix:
platform:
- linux/amd64
- linux/arm64
- linux/arm/v7
image:
- eveseat/seat
- ghcr.io/eveseat/seat
steps:
- name: Get artifact name
id: getartifactname
run: echo "artifact=$(printf '%s-digests' ${{ matrix.image }} | sed 's/\//-/g;s/\./-/g')" >> "$GITHUB_OUTPUT"
run: echo "artifact=$(printf '%s-%s-digests' ${{ matrix.image }} ${{ matrix.platform }} | sed 's/\//-/g;s/\./-/g')" >> "$GITHUB_OUTPUT"

- name: Download digests
uses: actions/download-artifact@v3
Expand Down

0 comments on commit d10f858

Please sign in to comment.