Skip to content

Commit d10f858

Browse files
authored
ci: use unique artifact names
1 parent 5eea76b commit d10f858

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343

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

4848
# Define tagging policy
4949
# - everything coming in another branch than default one is considered edge (unstable)
@@ -119,13 +119,17 @@ jobs:
119119
strategy:
120120
fail-fast: false
121121
matrix:
122+
platform:
123+
- linux/amd64
124+
- linux/arm64
125+
- linux/arm/v7
122126
image:
123127
- eveseat/seat
124128
- ghcr.io/eveseat/seat
125129
steps:
126130
- name: Get artifact name
127131
id: getartifactname
128-
run: echo "artifact=$(printf '%s-digests' ${{ matrix.image }} | sed 's/\//-/g;s/\./-/g')" >> "$GITHUB_OUTPUT"
132+
run: echo "artifact=$(printf '%s-%s-digests' ${{ matrix.image }} ${{ matrix.platform }} | sed 's/\//-/g;s/\./-/g')" >> "$GITHUB_OUTPUT"
129133

130134
- name: Download digests
131135
uses: actions/download-artifact@v3

0 commit comments

Comments
 (0)