Skip to content

Commit 9960b6f

Browse files
committed
imagetools
1 parent be1f8f7 commit 9960b6f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/docker-attendee-gate.jsonnet

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
name: 'Push arm64 tag for Lambda', // doesnt support manifest
77
run: |||
88
dgst="$(docker buildx imagetools inspect --raw "${REPO}:${SHA}" | jq -r '.manifests[] | select(.platform.architecture == "arm64" and .platform.os == "linux") | .digest')"
9-
docker tag "${REPO}@${dgst}" "${REPO}:${SHA}-arm64"
10-
docker push "${REPO}:${SHA}-arm64"
9+
docker imagetools create --tag "${REPO}:${SHA}-arm64" "${REPO}@${dgst}"
1110
|||,
1211
env: {
1312
REPO: std.format('${{ steps.login-ecr.outputs.registry }}/%s', 'attendee-gate'),

.github/workflows/docker-attendee-gate.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)