File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,8 @@ jobs:
161161 - test
162162 env :
163163 DOCKER_APP_IMAGE : ${{ needs.merge.outputs.build-image }}
164+ DOCKER_APP_IMAGE_ARM64 : ${{ needs.build.outputs.build-image-arm }}
165+ DOCKER_APP_IMAGE_X64 : ${{ needs.build.outputs.build-image-x64 }}
164166 steps :
165167 - name : Checkout code
166168 uses : actions/checkout@v4
@@ -187,6 +189,7 @@ jobs:
187189
188190 - name : Retag and push the image
189191 run : |
192+ echo docker buildx imagetools create \
193+ $(jq -cr '.tags | map("--tag " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") $DOCKER_APP_IMAGE_ARM64 $DOCKER_APP_IMAGE_X64
190194 docker buildx imagetools create \
191- $(jq -cr '.tags | map("--tag " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") \
192- "$(echo "$DOCKER_APP_IMAGE" | cut -f1 -d:)"
195+ $(jq -cr '.tags | map("--tag " + .) | join(" ")' <<< "$DOCKER_METADATA_OUTPUT_JSON") $DOCKER_APP_IMAGE_ARM64 $DOCKER_APP_IMAGE_X64
You can’t perform that action at this time.
0 commit comments