diff --git a/.github/workflows/_pr_image_build.yaml b/.github/workflows/_pr_image_build.yaml index 3ac4003a..5a0b1213 100644 --- a/.github/workflows/_pr_image_build.yaml +++ b/.github/workflows/_pr_image_build.yaml @@ -166,7 +166,12 @@ jobs: DIGESTS=$(printf "$IMAGE@sha256:%s " $(ls ${{ runner.temp }}/digests)) echo "Digests: $DIGESTS" - echo "Current tags: $TAGS" - docker buildx imagetools create \ - -t TAGS \ - $DIGESTS + echo "Current tags:" + echo "$TAGS" + + for tag in $TAGS; do + echo "Creating tag $tag" + docker buildx imagetools create \ + -t "$tag" \ + $DIGESTS + done