Skip to content

Commit

Permalink
Added make target to build without cache (#158)
Browse files Browse the repository at this point in the history
* Added no cache build

* Rebase with latest changes

* Added no cache build
  • Loading branch information
francis-nijay authored Sep 25, 2024
1 parent 90581e4 commit 08ab715
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 @@ -41,7 +41,11 @@ build-base-image: download-csm-common
# Pre-requisites: RHEL, buildah, podman
.PHONY: podman
podman: build-base-image
podman build -t csm-topology -f Dockerfile --build-arg BASEIMAGE=$(BASEIMAGE) --build-arg GOIMAGE=$(DEFAULT_GOIMAGE) .
podman build $(NOCACHE) -t csm-topology -f Dockerfile --build-arg BASEIMAGE=$(BASEIMAGE) --build-arg GOIMAGE=$(DEFAULT_GOIMAGE) .

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

.PHONY: tag
tag:
Expand Down

0 comments on commit 08ab715

Please sign in to comment.