Skip to content

Commit

Permalink
Added make target to build without cache (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-nijay authored Sep 27, 2024
1 parent 9357c68 commit 5e88e4a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,11 @@ build-base-image: download-csm-common
# Pre-requisites: RHEL, buildah, podman
.PHONY: podman
podman: build-base-image
podman build -t csm-metrics-powerstore -f Dockerfile --build-arg BASEIMAGE=$(BASEIMAGE) --build-arg GOIMAGE=$(DEFAULT_GOIMAGE) .
podman build $(NOCACHE) -t csm-metrics-powerstore -f Dockerfile --build-arg BASEIMAGE=$(BASEIMAGE) --build-arg GOIMAGE=$(DEFAULT_GOIMAGE) .

.PHONY: podman-no-cache
podman-no-cache:
@make podman NOCACHE="--no-cache"

.PHONY: push
push:
Expand Down

0 comments on commit 5e88e4a

Please sign in to comment.