File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,24 @@ IMG=powervs-cloud-controller-manager
1919POWERVS_CLOUD_CONTROLLER_COMMIT? =07d19bf
2020TAG? =$(POWERVS_CLOUD_CONTROLLER_COMMIT )
2121
22+ build-image-linux-amd64 : init-buildx
23+ { \
24+ set -e ; \
25+ docker buildx build \
26+ --build-arg TARGETPLATFORM=linux/amd64 --build-arg ARCH=amd64 \
27+ --build-arg POWERVS_CLOUD_CONTROLLER_COMMIT=$(POWERVS_CLOUD_CONTROLLER_COMMIT)\
28+ -t $(REGISTRY ) /$(IMG ) :$(TAG ) _linux_amd64 . --target centos-base; \
29+ }
30+
31+ build-image-linux-ppc64le : init-buildx
32+ { \
33+ set -e ; \
34+ docker buildx build \
35+ --build-arg TARGETPLATFORM=linux/ppc64le --build-arg ARCH=ppc64le\
36+ --build-arg POWERVS_CLOUD_CONTROLLER_COMMIT=$(POWERVS_CLOUD_CONTROLLER_COMMIT)\
37+ -t $(REGISTRY ) /$(IMG ) :$(TAG ) _linux_ppc64le . --target centos-base; \
38+ }
39+
2240build-image-and-push-linux-amd64 : init-buildx
2341 { \
2442 set -e ; \
You can’t perform that action at this time.
0 commit comments