You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.PHONY: build run docker-build docker-push docker-build-e2e
133
+
.PHONY: build run docker-build docker-push docker-build-e2e docker-release
134
134
135
135
build: manifests generate fmt vet
136
136
go build -o bin/manager cmd/main.go
@@ -147,25 +147,18 @@ docker-push: docker-build
147
147
docker-build-e2e:
148
148
$(CONTAINER_TOOL) build -t $(E2E_IMG).
149
149
150
-
# _PLATFORMS defines the target platforms for the manager image be built to provide support to multiple
151
-
# architectures. (i.e. make docker-buildx IMG=myregistry/mypoperator:0.0.1). To use this option you need to:
152
-
# - be able to use docker buildx. More info: https://docs.docker.com/reference/cli/docker/buildx/
153
-
# - have enabled BuildKit. More info:h ttps://docs.docker.com/build/buildkit/
154
-
# - be able to push the image to your registry (i.e. if you do not set a valid value via IMG=<myregistry/image:<tag>> then the export will fail)
155
-
# To adequately provide solutions that are compatible with multiple platforms, you should consider using this option.
156
-
# NOTE: BUILDPLATFORM is a Docker BuildKit build-time variable that represents the platform (architecture/OS) on which the build is running (for example, linux/amd64).
157
-
# More info: https://docs.docker.com/build/building/multi-platform/#automatic-platform-args-in-the-global-scope
158
-
_PLATFORMS ?= linux/arm64,linux/amd64
159
-
.PHONY: docker-multiarch-build-and-push
160
-
docker-multiarch-build-and-push: ## Build and push docker image for the manager for cross-platform support)
161
-
# copy existing Dockerfile and insert --platform=${BUILDPLATFORM} into Dockerfile.cross, and preserve the original Dockerfile (https://docs.docker.com/build/building/multi-platform/#cross-compilation)
0 commit comments