mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2025-07-06 22:06:11 +02:00
fix issue with bash script for manifests
This commit is contained in:
parent
ae627a129b
commit
0177d6c00e
1 changed files with 4 additions and 0 deletions
4
.github/workflows/publish-image.yml
vendored
4
.github/workflows/publish-image.yml
vendored
|
@ -256,6 +256,10 @@ jobs:
|
||||||
IMAGES_LIST=($IMAGES)
|
IMAGES_LIST=($IMAGES)
|
||||||
ANNOTATIONS_LIST=($DOCKER_METADATA_OUTPUT_ANNOTATIONS)
|
ANNOTATIONS_LIST=($DOCKER_METADATA_OUTPUT_ANNOTATIONS)
|
||||||
for REPO in "${IMAGES_LIST[@]}"; do
|
for REPO in "${IMAGES_LIST[@]}"; do
|
||||||
|
echo docker buildx imagetools create \
|
||||||
|
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
|
||||||
|
$(printf -- " --annotation %q" "${ANNOTATIONS_LIST[@]}") \
|
||||||
|
$(printf "$REPO@sha256:%s " *)
|
||||||
docker buildx imagetools create \
|
docker buildx imagetools create \
|
||||||
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
|
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
|
||||||
$(printf -- " --annotation %q" "${ANNOTATIONS_LIST[@]}") \
|
$(printf -- " --annotation %q" "${ANNOTATIONS_LIST[@]}") \
|
||||||
|
|
Loading…
Add table
Reference in a new issue