moves container.mk vars to vars.mk so that IMAGE_PREFIX is defined

before it is used in COMPOSE_CMD
This commit is contained in:
2026-07-04 20:11:07 +01:00
parent 4ef4bbd4ad
commit ad4b03871e
2 changed files with 4 additions and 4 deletions
-4
View File
@@ -1,7 +1,3 @@
CPU_ARCH := $(if $(shell which arch 2>/dev/null),\
$(shell arch),\
$(shell lscpu | grep ^Architecture: | sed "s/^Architecture:[[:space:]]*\([[:alnum:][:punct:]]\+\).*/\1/"))
IMAGE_PREFIX := $(if $(filter armv7%,$(CPU_ARCH)),armv7/)
REGISTRY_DOMAIN := git.joeac.net
REGISTRY_USER := joeac