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
7fc2e6a420
commit
ae627a129b
1 changed files with 3 additions and 1 deletions
4
.github/workflows/publish-image.yml
vendored
4
.github/workflows/publish-image.yml
vendored
|
@ -252,11 +252,13 @@ jobs:
|
|||
env:
|
||||
IMAGES: ${{needs.define-variables.outputs.images}}
|
||||
run: |
|
||||
IFS=$'\n'
|
||||
IMAGES_LIST=($IMAGES)
|
||||
ANNOTATIONS_LIST=($DOCKER_METADATA_OUTPUT_ANNOTATIONS)
|
||||
for REPO in "${IMAGES_LIST[@]}"; do
|
||||
docker buildx imagetools create \
|
||||
$(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
|
||||
$(printf -- " --annotation %q" "${DOCKER_METADATA_OUTPUT_ANNOTATIONS[@]}") \
|
||||
$(printf -- " --annotation %q" "${ANNOTATIONS_LIST[@]}") \
|
||||
$(printf "$REPO@sha256:%s " *)
|
||||
done
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue