Merge pull request #1209 from zabbix/trunk_workflow

Updated building images workflow
This commit is contained in:
Alexey Pustovalov 2024-02-19 18:31:13 +09:00 committed by GitHub
commit 24f344b596
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -391,7 +391,10 @@ jobs:
DIGEST: ${{ steps.docker_build.outputs.digest }}
TAGS: ${{ steps.meta.outputs.tags }}
run: |
images=$(printf "%s@${DIGEST}" "${TAGS[@]}")
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
echo "::group::Images to sign"
echo "$images"
@ -637,7 +640,10 @@ jobs:
DIGEST: ${{ steps.docker_build.outputs.digest }}
TAGS: ${{ steps.meta.outputs.tags }}
run: |
images=$(printf "%s@${DIGEST}" "${TAGS[@]}")
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
echo "::group::Images to sign"
echo "$images"
@ -984,7 +990,10 @@ jobs:
DIGEST: ${{ steps.docker_build.outputs.digest }}
TAGS: ${{ steps.meta.outputs.tags }}
run: |
images=$(printf "%s@${DIGEST}" "${TAGS[@]}")
images=""
for tag in ${TAGS}; do
images+="${tag}@${DIGEST} "
done
echo "::group::Images to sign"
echo "$images"