diff options
Diffstat (limited to 'day03')
-rw-r--r-- | day03/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
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) |