This is an automated email from the ASF dual-hosted git repository.

soulbird pushed a commit to branch test/relase_centos
in repository https://gitbox.apache.org/repos/asf/apisix-docker.git


The following commit(s) were added to refs/heads/test/relase_centos by this 
push:
     new a08aa50  add push-multiarch-on-centos for Makefile
a08aa50 is described below

commit a08aa502b893202018d3671843f07554cae44ab3
Author: soulbird <[email protected]>
AuthorDate: Fri Sep 2 14:50:27 2022 +0800

    add push-multiarch-on-centos for Makefile
---
 Makefile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/Makefile b/Makefile
index b1f3e5a..d2d475a 100644
--- a/Makefile
+++ b/Makefile
@@ -136,6 +136,17 @@ push-multiarch-on-debian:
        @$(call func_echo_success_status, "$@ -> [ Done ]")
 
 
+### push-multiarch-on-centos : Push apache/apisix:xx-centos image
+.PHONY: push-multiarch-on-centos
+push-multiarch-on-centos:
+       @$(call func_echo_status, "$@ -> [ Start ]")
+       $(ENV_DOCKER) buildx build --network=host --push \
+               -t $(ENV_APISIX_IMAGE_TAG_NAME)-centos \
+               --platform linux/amd64,linux/arm64 \
+               -f ./centos/Dockerfile .
+       @$(call func_echo_success_status, "$@ -> [ Done ]")
+
+
 ### build-on-alpine-cn : Build apache/apisix:xx-alpine image (for chinese)
 .PHONY: build-on-alpine-cn
 build-on-alpine-cn:

Reply via email to