Skip to content

Commit 5032838

Browse files
committed
fix: Explicitly parse multiple tags in Docker build workflow
Signed-off-by: Felicitas Pojtinger <[email protected]>
1 parent 93a6dff commit 5032838

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/docker.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,4 +117,7 @@ jobs:
117117
if: startsWith(github.ref, 'refs/tags/v')
118118
working-directory: /tmp/digests
119119
run: |
120-
docker buildx imagetools create --tag "${{ steps.meta.outputs.tags }}"" $(printf '${{ matrix.target.image }}@sha256:%s ' *)
120+
TAGS=$(echo "${{ steps.meta.outputs.tags }}" | tr '\n' ' ')
121+
for TAG in $TAGS; do
122+
docker buildx imagetools create --tag "$TAG" $(printf '${{ matrix.target.image }}@sha256:%s ' *);
123+
done

0 commit comments

Comments
 (0)