From ed037c5308a6c3b3d7d882db1e71e2841181caa7 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Fri, 4 Jul 2025 06:35:22 +0300 Subject: [PATCH] Update the pipeline --- .woodpecker.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 3618ddf..a7f2a5e 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -9,7 +9,7 @@ steps: include: [ frontend/** ] settings: registry: harbor.dvirlabs.com - repo: my-apps/navix-frontend + repo: my-apps/${CI_REPO_NAME}-frontend dockerfile: frontend/Dockerfile context: frontend tags: @@ -30,7 +30,7 @@ steps: include: [ backend/** ] settings: registry: harbor.dvirlabs.com - repo: my-apps/navix-backend + repo: my-apps/${CI_REPO_NAME}-backend dockerfile: backend/Dockerfile context: backend tags: @@ -63,8 +63,8 @@ steps: - | TAG="${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:7}" echo "💡 Setting frontend tag to: $TAG" - yq -i ".frontend.tag = \"$TAG\"" manifests/navix/values.yaml - git add manifests/navix/values.yaml + yq -i ".frontend.tag = \"$TAG\"" manifests/${CI_REPO_NAME}/values.yaml + git add manifests/${CI_REPO_NAME}/values.yaml git commit -m "frontend: update tag to $TAG" || echo "No changes" git push origin HEAD @@ -89,7 +89,7 @@ steps: - | TAG="${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:7}" echo "💡 Setting backend tag to: $TAG" - yq -i ".backend.tag = \"$TAG\"" manifests/navix/values.yaml - git add manifests/navix/values.yaml + yq -i ".backend.tag = \"$TAG\"" manifests/${CI_REPO_NAME}/values.yaml + git add manifests/${CI_REPO_NAME}/values.yaml git commit -m "backend: update tag to $TAG" || echo "No changes" git push origin HEAD