Fix makefile to push docker images to the right endpoints
This commit is contained in:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
|
||||
########################################################################################################################
|
||||
|
||||
Reference in New Issue
Block a user