fix(ci): IMAGE_DEPLOY uses git.sova.local for k3s pulls

This commit is contained in:
sova-ci
2026-05-28 11:21:04 +03:00
parent d554b01d93
commit 6cfb64e880
+2 -1
View File
@@ -10,6 +10,7 @@ on:
env:
REGISTRY: gitea-http.gitea.svc.cluster.local:3000
IMAGE: gitea-http.gitea.svc.cluster.local:3000/sova/adminpanel
IMAGE_DEPLOY: git.sova.local/sova/adminpanel
jobs:
test:
@@ -86,7 +87,7 @@ jobs:
chmod +x /usr/local/bin/yq
for attempt in $(seq 1 $MAX_RETRIES); do
git pull --rebase "${REPO_URL}" main
yq -i ".image.repository = \"${IMAGE}\"" "apps/adminpanel/values-${ENV}.yaml"
yq -i ".image.repository = \"${IMAGE_DEPLOY}\"" "apps/adminpanel/values-${ENV}.yaml"
yq -i ".image.tag = \"${TAG}\"" "apps/adminpanel/values-${ENV}.yaml"
yq -i ".image.pullPolicy = \"IfNotPresent\"" "apps/adminpanel/values-${ENV}.yaml"
git add "apps/adminpanel/values-${ENV}.yaml"