Skip to content

Commit 8f655ef

Browse files
author
Peng Zhou
committed
ignore docker cache
1 parent 62cc96b commit 8f655ef

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,8 @@ OPERATOR_SDK_VERSION ?= v1.34.2
6565

6666
# Image URL to use all building/pushing image targets
6767
# Image for dev: ml-marklogic-operator-dev.bed-artifactory.bedford.progress.com/marklogic-operator-kubernetes
68-
IMG ?= progressofficial/marklogic-operator-kubernetes:$(VERSION)
68+
# IMG ?= progressofficial/marklogic-operator-kubernetes:$(VERSION)
69+
IMG = "testrepo/marklogic-operator-image-dev:1.0.0"
6970

7071

7172
# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
@@ -204,7 +205,7 @@ run: manifests generate fmt vet ## Run a controller from your host.
204205
# More info: https://docs.docker.com/develop/develop-images/build_enhancements/
205206
.PHONY: docker-build
206207
docker-build: ## Build docker image with the manager. to build for linux, add --platform="linux/amd64"
207-
$(CONTAINER_TOOL) buildx build -t ${IMG} .
208+
$(CONTAINER_TOOL) buildx build --no-cache -t ${IMG} .
208209

209210
.PHONY: docker-push
210211
docker-push: ## Push docker image with the manager.

0 commit comments

Comments
 (0)