Skip to content

Commit

Permalink
Added no-cache build for reverse proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-nijay committed Sep 24, 2024
1 parent 45e176a commit 8b62258
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 8b62258

Please sign in to comment.