From c7091e632330b163c921035f00d5e5f3e9ec8a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Mon, 18 Jun 2018 17:53:01 +0200 Subject: [PATCH] Force building before pushing --- .makefiles/docker.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.makefiles/docker.mk b/.makefiles/docker.mk index 9c1a8cd..33eb8b8 100644 --- a/.makefiles/docker.mk +++ b/.makefiles/docker.mk @@ -34,10 +34,10 @@ docker-run: ## Build a generic docker image docker-build: ## Build a generic docker image 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-latest-push: docker-login ## Push the latest image +docker-latest-push: docker-build ## Push the latest image docker tag $(IMAGEWTAG) $(IMAGENAME) docker push $(IMAGENAME)