2021-09-16 17:17:37 +02:00
|
|
|
modded_mc = siverten/magma siverten/rlcraft
|
|
|
|
mc_contexts = $(modded_mc) siverten/papermc siverten/waterfall
|
2021-09-14 17:13:40 +02:00
|
|
|
game_contexts = $(mc_contexts) siverten/tshock
|
2021-09-14 14:59:53 +02:00
|
|
|
|
2021-09-14 17:13:40 +02:00
|
|
|
contexts = siverten/bind9 siverten/oxen siverten/tor\
|
|
|
|
$(game_contexts)
|
|
|
|
|
2022-05-05 22:07:07 +02:00
|
|
|
.PHONY: build push hub build_reg push_reg registry all
|
|
|
|
|
|
|
|
build:
|
|
|
|
$(foreach context,$(contexts),docker build $(context);)
|
|
|
|
push:
|
|
|
|
$(foreach context,$(contexts),docker push $(context);)
|
|
|
|
hub: build push
|
|
|
|
|
|
|
|
reg_contexts = xmr-stak
|
|
|
|
|
|
|
|
build_reg:
|
2022-05-05 22:28:47 +02:00
|
|
|
$(foreach context,$(reg_contexts),docker build $(context);docker tag $(context) registry.sivert.pw/$(context))
|
2022-05-05 22:07:07 +02:00
|
|
|
push_reg:
|
|
|
|
$(foreach context,$(reg_contexts),docker push registry.sivert.pw/$(context);)
|
|
|
|
|
|
|
|
registry: build_reg push_reg
|
|
|
|
all: hub registry
|
2021-09-14 14:59:53 +02:00
|
|
|
|