Skip to content

Commit

Permalink
Revert the nigthly targets to the original versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal committed Jun 27, 2018
1 parent 397f48c commit 0c9c85a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 0c9c85a

Please sign in to comment.