From 12efddc051bfcb1879900fce5a1994a6fb932a55 Mon Sep 17 00:00:00 2001 From: FUJIWARA Shunichiro Date: Tue, 5 Oct 2021 18:31:03 +0900 Subject: [PATCH] push from buildx --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b5d80c9..9cd2099 100644 --- a/Makefile +++ b/Makefile @@ -22,5 +22,9 @@ image: build.lambda Dockerfile --platform linux/amd64,linux/arm64 \ . -push: image - docker push ghcr.io/kayac/asg-lifecycle-hook-ec2:$(VERSION) +push: build.lambda Dockerfile + docker buildx build \ + --push \ + --tag ghcr.io/kayac/asg-lifecycle-hook-ec2:$(VERSION) \ + --platform linux/amd64,linux/arm64 \ + .