Skip to content

Commit

Permalink
fix: Explicitly parse multiple tags in Docker build workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Felicitas Pojtinger <[email protected]>
  • Loading branch information
pojntfx committed Dec 6, 2024
1 parent 93a6dff commit 5032838
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,4 +117,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
working-directory: /tmp/digests
run: |
docker buildx imagetools create --tag "${{ steps.meta.outputs.tags }}"" $(printf '${{ matrix.target.image }}@sha256:%s ' *)
TAGS=$(echo "${{ steps.meta.outputs.tags }}" | tr '\n' ' ')
for TAG in $TAGS; do
docker buildx imagetools create --tag "$TAG" $(printf '${{ matrix.target.image }}@sha256:%s ' *);
done

0 comments on commit 5032838

Please sign in to comment.