💄 Fix Makefile missing tag option for docker build command
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sivert V. Sæther 2023-02-06 12:55:05 +01:00
parent d40d907fe5
commit 1decd34840

View File

@ -7,7 +7,7 @@
contexts = siverten/bind9 siverten/oxen siverten/tor # $(game_contexts) contexts = siverten/bind9 siverten/oxen siverten/tor # $(game_contexts)
build: build:
$(foreach context,$(contexts),docker build --pull $(context);) $(foreach context,$(contexts),docker build --pull $(context) -t $(context);)
push: push:
$(foreach context,$(contexts),docker push $(context);) $(foreach context,$(contexts),docker push $(context);)
hub: build push hub: build push
@ -16,7 +16,7 @@ hub: build push
reg_contexts = #xmr-stak reg_contexts = #xmr-stak
build_reg: build_reg:
$(foreach context,$(reg_contexts),docker build --pull $(context);docker tag $(context) registry.42069.no/$(context)) $(foreach context,$(reg_contexts),docker build --pull $(context) -t $(context);docker tag $(context) registry.42069.no/$(context))
push_reg: push_reg:
$(foreach context,$(reg_contexts),docker push registry.42069.no/$(context);) $(foreach context,$(reg_contexts),docker push registry.42069.no/$(context);)