Add -f flag to docker tag to prevent push failure

pull/579/head
jackgr 9 years ago
parent 624dad3ef7
commit fc60bacc7b

@ -63,7 +63,7 @@ endif
.PHONY: container
container: .project .docker binary extras
docker build -t $(FULL_IMAGE):$(TAG) -f Dockerfile .
docker tag $(FULL_IMAGE):$(TAG) $(FULL_IMAGE):latest
docker tag -f $(FULL_IMAGE):$(TAG) $(FULL_IMAGE):latest
.project:
ifeq ($(DOCKER_REGISTRY), gcr.io)

Loading…
Cancel
Save