Add changes I've made manually on the build server

This also adds the xmr-stak cypto miner container image I created
That one is the first of potentially many images I won't push to the official Docker Hub registries, but insted to my own private registry
This commit is contained in:
2022-06-19 16:05:31 +02:00
parent 45983f1d10
commit 8c3769180d
10 changed files with 133 additions and 11 deletions

View File

@@ -1,3 +1,5 @@
.PHONY: build push hub build_reg push_reg registry all
modded_mc = siverten/magma siverten/rlcraft
mc_contexts = $(modded_mc) siverten/papermc siverten/waterfall
game_contexts = $(mc_contexts) siverten/tshock
@@ -5,20 +7,20 @@ game_contexts = $(mc_contexts) siverten/tshock
contexts = siverten/bind9 siverten/oxen siverten/tor\
$(game_contexts)
.PHONY: build push hub build_reg push_reg registry all
build:
$(foreach context,$(contexts),docker build $(context);)
$(foreach context,$(contexts),docker build --pull $(context);)
push:
$(foreach context,$(contexts),docker push $(context);)
hub: build push
reg_contexts = xmr-stak
build_reg:
$(foreach context,$(reg_contexts),docker build $(context);docker tag $(context) registry.sivert.pw/$(context))
$(foreach context,$(reg_contexts),docker build --pull $(context);docker tag $(context) registry.42069.no/$(context))
push_reg:
$(foreach context,$(reg_contexts),docker push registry.sivert.pw/$(context);)
$(foreach context,$(reg_contexts),docker push registry.42069.no/$(context);)
registry: build_reg push_reg
all: hub registry