Skip to content

Commit b6ac646

Browse files
committed
Update workflow
1 parent 6c7b678 commit b6ac646

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/build_and_publish.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,9 @@ jobs:
8888

8989
- name: Create Multi-Arch Manifest
9090
run: |
91-
docker buildx imagetools create $(echo $DOCKER_METADATA_OUTPUT_TAGS | sed 's/,/ -t /g' | sed 's/^/-t /') \
91+
RAW_TAGS="${{ steps.meta.outputs.tags }}"
92+
TAGS_ARGS=$(echo $RAW_TAGS | sed 's/[^[:space:]]\+/--tag &/g')
93+
docker buildx imagetools create $TAGS_ARGS \
9294
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}-amd64 \
9395
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}-aarch64
9496
env:

0 commit comments

Comments
 (0)