Pass server version to container build
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/deploy Pipeline was successful

This commit is contained in:
Reactorcoremeltdown
2026-10-30 10:08:34 +01:00
parent 9729edfc9d
commit 0848c0186c
+5 -5
View File
@@ -27,7 +27,7 @@ HOST_CLIENT := $(BUILD)/$(HOSTOS)-$(HOSTARCH)/keeporg
HOST_SERVER := $(BUILD)/$(HOSTOS)-$(HOSTARCH)/keeporgd HOST_SERVER := $(BUILD)/$(HOSTOS)-$(HOSTARCH)/keeporgd
.DEFAULT_GOAL := help .DEFAULT_GOAL := help
APP_NAME := keeporg APP_NAME := keeporg
# ---------------------------------------------------------------- developing # ---------------------------------------------------------------- developing
@@ -240,14 +240,14 @@ nginx:
build-server: nginx build-server: nginx
podman build \ podman build \
--build-arg APP_VERSION=${VERSION} \ --build-arg APP_VERSION=${VERSION_SERVER} \
--platform=linux/arm64 \ --platform=linux/arm64 \
-t repo.rcmd.space/$(APP_NAME):$(VERSION) \ -t repo.rcmd.space/$(APP_NAME):$(VERSION_SERVER) \
. .
podman push repo.rcmd.space/$(APP_NAME):$(VERSION) podman push repo.rcmd.space/$(APP_NAME):$(VERSION_SERVER)
podman image prune -f podman image prune -f
deploy-server: deploy-server:
helm upgrade --install --namespace "apps" --create-namespace $(APP_NAME) rcmd/rcmd-base -f ./config/variables/server.values.yaml --set "image.version=$(VERSION)" helm upgrade --install --namespace "apps" --create-namespace $(APP_NAME) rcmd/rcmd-base -f ./config/variables/server.values.yaml --set "image.version=$(VERSION_SERVER)"
# www # www