From 59dfc33e8f8994cf75b6069e5d4ed0e47dddcba5 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Sun, 21 Mar 2021 16:29:53 +0100 Subject: [PATCH] Updated Makefile to add pushing of image --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 69f4a4a..76b08f0 100644 --- a/Makefile +++ b/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: