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
+4 -4
View File
@@ -240,14 +240,14 @@ nginx:
build-server: nginx
podman build \
--build-arg APP_VERSION=${VERSION} \
--build-arg APP_VERSION=${VERSION_SERVER} \
--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
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