From 6edcc43203b4745ac52861efc1eeac7e2860693d Mon Sep 17 00:00:00 2001 From: Nat Lasseter Date: Mon, 3 Dec 2018 15:08:26 +0000 Subject: Added push to registry make target --- day03/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'day03/Makefile') diff --git a/day03/Makefile b/day03/Makefile index 6493e35..5309242 100644 --- a/day03/Makefile +++ b/day03/Makefile @@ -1,13 +1,17 @@ DAY = 03 -.PHONY: run clean +.PHONY: run clean push run: build - sudo docker run -it --rm aoc2018day$(DAY) + docker run -it --rm aoc2018day$(DAY) build: part* input - sudo docker build -t aoc2018day$(DAY) . + docker build -t aoc2018day$(DAY) . touch build clean: rm -f build + +push: build + docker tag aoc2018day$(DAY) advent.4574.co.uk/aoc2018day$(DAY) + docker push advent.4574.co.uk/aoc2018day$(DAY) -- cgit v1.2.1