ci: fix manifest merge — newline in tags broke shell loop
This commit is contained in:
1 parent
f96d21ade7
commit
d074e27418
1 file changed
+2
-1
@@ -103,7 +103,8 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
for tag in ${{ steps.meta.outputs.tags }}; do
|
TAGS=$(echo "${{ steps.meta.outputs.tags }}" | tr '\n' ' ')
|
||||||
|
for tag in $TAGS; do
|
||||||
echo "merging: $tag (amd64 + arm64)"
|
echo "merging: $tag (amd64 + arm64)"
|
||||||
docker manifest create "$tag" --amend "$tag-amd64" --amend "$tag-arm64"
|
docker manifest create "$tag" --amend "$tag-amd64" --amend "$tag-arm64"
|
||||||
docker manifest push "$tag"
|
docker manifest push "$tag"
|
||||||
|
|||||||
Reference in new issue
Block a user