From 9d6f98b4c112cefed63d0275cc1b77c49669e228 Mon Sep 17 00:00:00 2001 From: Christian Coffield Date: Tue, 3 Sep 2024 17:37:38 +0530 Subject: [PATCH] Added no cache build (#675) --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 349fdfd01..a5ef4855f 100644 --- a/Makefile +++ b/Makefile @@ -114,6 +114,9 @@ run: generate gen-semver fmt vet static-manifests ## Run a controller from your podman-build: gen-semver build-base-image ## Build podman image with the manager. podman build . -t ${DEFAULT_IMG} --build-arg BASEIMAGE=$(BASEIMAGE) --build-arg GOIMAGE=$(DEFAULT_GOIMAGE) +podman-build-no-cache: gen-semver build-base-image ## Build podman image with the manager. + podman build --no-cache . -t ${DEFAULT_IMG} --build-arg BASEIMAGE=$(BASEIMAGE) --build-arg GOIMAGE=$(DEFAULT_GOIMAGE) + podman-push: podman-build ## Builds, tags and pushes docker image with the manager. podman tag ${DEFAULT_IMG} ${IMG} podman push ${IMG}