Updated Makefile to add pushing of image
parent
b42ea850cd
commit
59dfc33e8f
8
Makefile
8
Makefile
|
@ -1,4 +1,5 @@
|
|||
IMAGE := rust-api:latest
|
||||
IMAGE := chewingbever/fej
|
||||
TAG := 0.1-dev
|
||||
shell := /bin/bash
|
||||
|
||||
|
||||
|
@ -15,9 +16,12 @@ release:
|
|||
.PHONY: release
|
||||
|
||||
image: Dockerfile
|
||||
@ docker build -t '$(IMAGE)' .
|
||||
@ docker build -t '$(IMAGE):$(TAG)' .
|
||||
.PHONY: image
|
||||
|
||||
push: image
|
||||
@ docker push '$(IMAGE):$(TAG)'
|
||||
.PHONY: push
|
||||
|
||||
# Run
|
||||
run:
|
||||
|
|
Loading…
Reference in New Issue