Skip to content

Commit

Permalink
Merge pull request #330 from dell/reverse-proxy-no-cache-build
Browse files Browse the repository at this point in the history
Added make target to build without cache
  • Loading branch information
francis-nijay authored Sep 25, 2024
2 parents 45e176a + 8b62258 commit 5915b2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion csireverseproxy/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ build-base-image: download-csm-common
$(eval BASEIMAGE=csipowermax-ubimicro:latest)

docker-build: build build-base-image
docker build -t "$(REG):$(VERSION)" --build-arg GOIMAGE="golang:1.22" .
docker build $(NOCACHE) -t "$(REG):$(VERSION)" --build-arg GOIMAGE="golang:1.22" .

docker-build-no-cache:
@make docker-build NOCACHE=--no-cache

docker-push: docker-build
docker push "$(REG):$(VERSION)"
Expand Down

0 comments on commit 5915b2d

Please sign in to comment.