Updated Makefile to add pushing of image

master
Jef Roosens 2021-03-21 16:29:53 +01:00
parent b42ea850cd
commit 59dfc33e8f
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 6 additions and 2 deletions

View File

@ -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: