@@ -11,7 +11,7 @@ OPENSHIFT_VERSION="v4.10"
1111# - use the VERSION as arg of the bundle target (e.g make bundle VERSION=0.0.2)
1212# - use environment variables to overwrite this value (e.g export VERSION=0.0.2)
1313# TODO: Version must be pulled from git tags
14- VERSION ?= 4.2.0-dev1
14+ VERSION ?= 4.2.0
1515
1616# Platforms supported
1717PLATFORMS ?= linux/amd64,linux/arm64
@@ -188,14 +188,14 @@ run: manifests generate fmt vet ## Run a controller from your host.
188188docker-buildx : # # Build and push docker image for the manager for cross-platform support
189189 - docker buildx create --name project-v3-builder
190190 docker buildx use project-v3-builder
191- - docker buildx build --push --no-cache --provenance=false --platform=$(PLATFORMS ) --tag ${IMG} --build-arg VERSION=$(VERSION ) .
191+ docker buildx build --push --no-cache --provenance=false --platform=$(PLATFORMS ) --tag ${IMG} --build-arg VERSION=$(VERSION ) .
192192 - docker buildx rm project-v3-builder
193193
194194.PHONY : docker-buildx-openshift
195195docker-buildx-openshift : # # Build and push docker image for the manager for openshift cross-platform support
196196 - docker buildx create --name project-v3-builder
197197 docker buildx use project-v3-builder
198- - docker buildx build --push --no-cache --provenance=false --platform=$(PLATFORMS ) --tag ${IMG} --build-arg VERSION=$(VERSION ) --build-arg USER=1001 .
198+ docker buildx build --push --no-cache --provenance=false --platform=$(PLATFORMS ) --tag ${IMG} --build-arg VERSION=$(VERSION ) --build-arg USER=1001 .
199199 - docker buildx rm project-v3-builder
200200
201201.PHONY : docker-push
@@ -339,7 +339,7 @@ submodules: ## Pull and update git submodules recursively
339339
340340# Generate bundle manifests and metadata, then validate generated files.
341341# For OpenShift bundles run
342- # CHANNELS=stable DEFAULT_CHANNEL=stable OPENSHIFT_VERSION=v4.10 IMG=docker.io/aerospike/aerospike-kubernetes-operator-nightly:4.2.0-dev1 make bundle
342+ # CHANNELS=stable DEFAULT_CHANNEL=stable OPENSHIFT_VERSION=v4.10 IMG=docker.io/aerospike/aerospike-kubernetes-operator-nightly:4.2.0 make bundle
343343.PHONY : bundle
344344bundle : manifests kustomize operator-sdk
345345 rm -rf $(ROOT_DIR ) /bundle.Dockerfile $(BUNDLE_DIR )
@@ -417,5 +417,5 @@ catalog: opm ## Generate a file-based catalog and its dockerfile.
417417docker-buildx-catalog : catalog
418418 - docker buildx create --name project-v3-builder
419419 docker buildx use project-v3-builder
420- - docker buildx build --push --no-cache --platform=$(PLATFORMS ) --tag $(CATALOG_IMG ) -f $(CATALOG_DIR ) .Dockerfile .
420+ docker buildx build --push --no-cache --platform=$(PLATFORMS ) --tag $(CATALOG_IMG ) -f $(CATALOG_DIR ) .Dockerfile .
421421 - docker buildx rm project-v3-builder
0 commit comments