File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -198,8 +198,10 @@ jobs:
198198 working-directory : /tmp/digests
199199 shell : bash
200200 run : |
201- docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
202- $(printf '${{ env.CONTAINER_IMAGE }}@sha256:%s ' *)
201+ docker buildx imagetools create \
202+ $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
203+ $(jq -cr '.annotations | map("--annotation \"" + . + "\"") | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
204+ $(printf '${{ env.CONTAINER_IMAGE }}@sha256:%s ' *)
203205 - name : Inspect image
204206 shell : bash
205207 run : |
Original file line number Diff line number Diff line change @@ -173,8 +173,10 @@ jobs:
173173 working-directory : /tmp/digests
174174 shell : bash
175175 run : |
176- docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
177- $(printf '${{ env.CONTAINER_IMAGE }}@sha256:%s ' *)
176+ docker buildx imagetools create \
177+ $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
178+ $(jq -cr '.annotations | map("--annotation \"" + . + "\"") | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
179+ $(printf '${{ env.CONTAINER_IMAGE }}@sha256:%s ' *)
178180 - name : Inspect image
179181 shell : bash
180182 run : |
Original file line number Diff line number Diff line change @@ -193,8 +193,10 @@ jobs:
193193 working-directory : /tmp/digests
194194 shell : bash
195195 run : |
196- docker buildx imagetools create $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
197- $(printf '${{ env.CONTAINER_IMAGE }}@sha256:%s ' *)
196+ docker buildx imagetools create \
197+ $(jq -cr '.tags | map("-t " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
198+ $(jq -cr '.annotations | map("--annotation \"" + . + "\"") | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
199+ $(printf '${{ env.CONTAINER_IMAGE }}@sha256:%s ' *)
198200 - name : Inspect image
199201 shell : bash
200202 run : |
You can’t perform that action at this time.
0 commit comments