File tree 3 files changed +5
-4
lines changed
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ GH := $(abspath $(TOOLS_BIN_DIR)/$(GH_BIN))
118
118
# Registry / images
119
119
TAG ?= dev
120
120
ARCH ?= $(shell go env GOARCH)
121
+ TARGET_PLATFORM = linux/$(ARCH )
121
122
ALL_ARCH = amd64 arm64
122
123
TARGET_PLATFORMS := linux/amd64,linux/arm64
123
124
MACHINE := cluster-api-provider-rke2
@@ -328,9 +329,9 @@ docker-build: buildx-machine docker-pull-prerequisites
328
329
329
330
330
331
.PHONY : docker-build-rke2-bootstrap
331
- docker-build-rke2-bootstrap :
332
+ :
332
333
DOCKER_BUILDKIT=1 BUILDX_BUILDER=$(MACHINE ) docker buildx build \
333
- --platform linux/amd64 \
334
+ --platform $( TARGET_PLATFORM ) \
334
335
--load \
335
336
--build-arg builder_image=$(GO_CONTAINER_IMAGE ) \
336
337
--build-arg ARCH=$(ARCH ) \
@@ -343,7 +344,7 @@ docker-build-rke2-bootstrap:
343
344
.PHONY : docker-build-rke2-control-plane
344
345
docker-build-rke2-control-plane :
345
346
DOCKER_BUILDKIT=1 BUILDX_BUILDER=$(MACHINE ) docker buildx build \
346
- --platform linux/amd64 \
347
+ --platform $( TARGET_PLATFORM ) \
347
348
--load \
348
349
--build-arg builder_image=$(GO_CONTAINER_IMAGE ) \
349
350
--build-arg ARCH=$(ARCH ) \
Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ providers:
69
69
type : " url"
70
70
contract : v1beta1
71
71
files :
72
- - sourcePath : " ../data/infrastructure/cluster-template-kcp -remediation.yaml"
72
+ - sourcePath : " ../data/infrastructure/cluster-template-rcp -remediation.yaml"
73
73
- sourcePath : " ../data/shared/v1beta1/metadata.yaml"
74
74
replacements :
75
75
- old : " imagePullPolicy: Always"
File renamed without changes.
You can’t perform that action at this time.
0 commit comments