diff options
Diffstat (limited to 'day01/Makefile')
-rw-r--r-- | day01/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/day01/Makefile b/day01/Makefile index 759867a..742a67e 100644 --- a/day01/Makefile +++ b/day01/Makefile @@ -1,13 +1,17 @@ DAY = 01 -.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) |