1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-14 12:42:27 +00:00

Force building before pushing

This commit is contained in:
J. Fernando Sánchez 2018-06-18 17:53:01 +02:00
parent f11439d944
commit c7091e6323

View File

@ -34,10 +34,10 @@ docker-run: ## Build a generic docker image
docker-build: ## Build a generic docker image docker-build: ## Build a generic docker image
docker build . -t $(IMAGEWTAG) docker build . -t $(IMAGEWTAG)
docker-push: docker-login ## Push a generic docker image docker-push: docker-build docker-login ## Push a generic docker image
docker push $(IMAGEWTAG) docker push $(IMAGEWTAG)
docker-latest-push: docker-login ## Push the latest image docker-latest-push: docker-build ## Push the latest image
docker tag $(IMAGEWTAG) $(IMAGENAME) docker tag $(IMAGEWTAG) $(IMAGENAME)
docker push $(IMAGENAME) docker push $(IMAGENAME)