3
0

Fix makefile to push docker images to the right endpoints

This commit is contained in:
Denis Arh
2018-09-29 17:42:51 +02:00
parent 8a0cdc7e65
commit 4c405e5abd

View File

@@ -38,12 +38,12 @@ nothing:
docker: $(IMAGES:%=docker-image.%)
docker-image.%: %
@ docker build --no-cache --rm -f docker/$^/Dockerfile -t crusttech/crust:latest-$^ .
@ docker build --no-cache --rm -f docker/$^/Dockerfile -t crusttech/api-$^:latest .
docker-push: $(IMAGES:%=docker-push.%)
docker-push.%: %
@ docker push crusttech/crust:latest-$^
@ docker push crusttech/api-$^:latest
########################################################################################################################