Skip to content

Commit 5c574dd

Browse files
committed
pass in image digests
1 parent 3459652 commit 5c574dd

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)