Skip to content

Commit

Permalink
Always pull base images when building frontend / backend images (#18)
Browse files Browse the repository at this point in the history
For consistency with other Antrea projects (antrea & theia).

Signed-off-by: Antonin Bas <[email protected]>
  • Loading branch information
antoninbas committed May 4, 2023
1 parent 4791c08 commit bd51faf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ clean:

.PHONY: build-frontend
build-frontend:
docker build -t antrea/antrea-ui-frontend:$(DOCKER_IMG_VERSION) -f build/frontend.dockerfile --build-arg GO_VERSION=$(GO_VERSION) .
docker build --pull -t antrea/antrea-ui-frontend:$(DOCKER_IMG_VERSION) -f build/frontend.dockerfile --build-arg GO_VERSION=$(GO_VERSION) .
docker tag antrea/antrea-ui-frontend:$(DOCKER_IMG_VERSION) antrea/antrea-ui-frontend

.PHONY: build-backend
build-backend:
docker build -t antrea/antrea-ui-backend:$(DOCKER_IMG_VERSION) -f build/backend.dockerfile --build-arg GO_VERSION=$(GO_VERSION) .
docker build --pull -t antrea/antrea-ui-backend:$(DOCKER_IMG_VERSION) -f build/backend.dockerfile --build-arg GO_VERSION=$(GO_VERSION) .
docker tag antrea/antrea-ui-backend:$(DOCKER_IMG_VERSION) antrea/antrea-ui-backend

.PHONY: build
Expand Down

0 comments on commit bd51faf

Please sign in to comment.