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
|
shell := /bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
@ -15,9 +16,12 @@ release:
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
|
|
||||||
image: Dockerfile
|
image: Dockerfile
|
||||||
@ docker build -t '$(IMAGE)' .
|
@ docker build -t '$(IMAGE):$(TAG)' .
|
||||||
.PHONY: image
|
.PHONY: image
|
||||||
|
|
||||||
|
push: image
|
||||||
|
@ docker push '$(IMAGE):$(TAG)'
|
||||||
|
.PHONY: push
|
||||||
|
|
||||||
# Run
|
# Run
|
||||||
run:
|
run:
|
||||||
|
|
Loading…
Reference in New Issue