From 0c9c85a932799db437b759cdf3d1d943b082b134 Mon Sep 17 00:00:00 2001 From: Jakub Zalas Date: Wed, 27 Jun 2018 08:45:29 +0100 Subject: [PATCH] Revert the nigthly targets to the original versions --- Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index d1e3cc44..3632e31e 100644 --- a/Makefile +++ b/Makefile @@ -13,14 +13,16 @@ build-alpine: docker build -f Dockerfile-alpine -t $(BUILD_TAG) . .PHONY: build-alpine +NIGHTLY_TAG := jakzal/phpqa-nightly:$(shell date +%y%m%d) build-nightly-latest: - docker build -t jakzal/phpqa-nightly:$(shell date +%y%m%d) . + docker build -t $(NIGHTLY_TAG) . @docker login -u jakzal -p ${DOCKER_HUB_PASSWORD} - docker push $(BUILD_TAG) + docker push $(NIGHTLY_TAG) .PHONY: build-nightly-latest +NIGHTLY_ALPINE_TAG := jakzal/phpqa-nightly:$(shell date +%y%m%d)-alpine build-nightly-alpine: - docker build -f Dockerfile-alpine -t jakzal/phpqa-nightly:$(shell date +%y%m%d)-alpine . + docker build -f Dockerfile-alpine -t $(NIGHTLY_ALPINE_TAG) . @docker login -u jakzal -p ${DOCKER_HUB_PASSWORD} - docker push $(BUILD_TAG) + docker push $(NIGHTLY_ALPINE_TAG) .PHONY: build-nightly-alpine