File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,16 @@ multiarch-image:
8989 --platform ${RELEASE_IMAGE_PLATFORMS} ${DOCKERX_PUSH} \
9090 .
9191
92+ .PHONY : multiarch-image
93+ multiarch-image-push :
94+ docker buildx build \
95+ -t ${IMAGE_PREFIX}${IMAGE_NAME} :${IMAGE_TAG} \
96+ --progress plain \
97+ --pull \
98+ --push \
99+ --platform ${RELEASE_IMAGE_PLATFORMS} ${DOCKERX_PUSH} \
100+ .
101+
92102.PHONY : image-push
93103image-push : image
94104 docker push ${IMAGE_PREFIX}${IMAGE_NAME} :${IMAGE_TAG}
Original file line number Diff line number Diff line change @@ -50,15 +50,18 @@ echo "*** performing release commit"
5050git commit -S -s -m " Release ${TARGET_TAG} " VERSION manifests/
5151git tag ${TARGET_TAG}
5252
53- echo " *** build docker image"
54- make image
53+ echo " *** build multiarch docker image"
54+ make multiarch-image
55+
56+ echo " *** build multiarch release binaries"
57+ make release-images
5558
5659echo
5760echo " *** done"
5861echo
5962echo " If everything is fine, push changes to GitHub and Docker Hub:"
6063echo
6164echo " git push ${TARGET_REMOTE} $RELEASE_BRANCH ${TARGET_TAG} "
62- echo " make IMAGE_TAG='${TARGET_TAG} ' image-push"
65+ echo " make IMAGE_TAG='${TARGET_TAG} ' multiarch- image-push"
6366echo
64- echo " Then, create release tag and execute upload-release-assets.sh"
67+ echo " Then, create release tag and execute upload-multiarch- release-assets.sh"
You can’t perform that action at this time.
0 commit comments