summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorjannfis <jann@mistrust.net>2022-03-14 11:24:48 +0100
committerGitHub <noreply@github.com>2022-03-14 11:24:48 +0100
commitf9dff8d6cdedca836f307a7b92e05761022269c5 (patch)
tree8676b8e0f6ebd37835e906fd71a6d9d841551cba /Makefile
parent48e0bf277c1e06f96810a327518273d8e58c1ade (diff)
chore: Make release script multi-arch aware (#401)
Signed-off-by: jannfis <jann@mistrust.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 9406b54..fa6afc5 100644
--- a/Makefile
+++ b/Makefile
@@ -89,6 +89,16 @@ multiarch-image:
--platform ${RELEASE_IMAGE_PLATFORMS} ${DOCKERX_PUSH} \
.
+.PHONY: multiarch-image
+multiarch-image-push:
+ docker buildx build \
+ -t ${IMAGE_PREFIX}${IMAGE_NAME}:${IMAGE_TAG} \
+ --progress plain \
+ --pull \
+ --push \
+ --platform ${RELEASE_IMAGE_PLATFORMS} ${DOCKERX_PUSH} \
+ .
+
.PHONY: image-push
image-push: image
docker push ${IMAGE_PREFIX}${IMAGE_NAME}:${IMAGE_TAG}