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
19
19
POWERVS_CLOUD_CONTROLLER_COMMIT? =07d19bf
20
20
TAG? =$(POWERVS_CLOUD_CONTROLLER_COMMIT )
21
21
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
+
22
40
build-image-and-push-linux-amd64 : init-buildx
23
41
{ \
24
42
set -e ; \
You can’t perform that action at this time.
0 commit comments