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
go build -o bin/opennebula-cloud-controller-manager cmd/opennebula-cloud-controller-manager/main.go
@@ -70,28 +71,18 @@ docker-build:
70
71
docker-push:
71
72
$(CONTAINER_TOOL) push $(CCM_IMG)
72
73
73
-
docker-publish: docker-build
74
-
$(CONTAINER_TOOL) tag $(CCM_IMG)$(RELEASE_IMG)
75
-
$(CONTAINER_TOOL) push $(RELEASE_IMG)
76
-
77
-
# _PLATFORMS defines the target platforms for the manager image be built to provide support to multiple
78
-
# architectures. (i.e. make docker-buildx IMG=myregistry/mypoperator:0.0.1). To use this option you need to:
79
-
# - be able to use docker buildx. More info: https://docs.docker.com/reference/cli/docker/buildx/
80
-
# - have enabled BuildKit. More info:h ttps://docs.docker.com/build/buildkit/
81
-
# - 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)
82
-
# To adequately provide solutions that are compatible with multiple platforms, you should consider using this option.
83
-
# 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).
84
-
# More info: https://docs.docker.com/build/building/multi-platform/#automatic-platform-args-in-the-global-scope
85
-
_PLATFORMS ?= linux/arm64,linux/amd64
86
-
.PHONY: docker-multiarch-build-and-push
87
-
docker-multiarch-build-and-push: ## Build and push docker image for the manager for cross-platform support)
88
-
# 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