diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index dc3c53a..41687d9 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -71,8 +71,8 @@ jobs: - name: Patch ArgoCD run: | SHORT=${GITHUB_SHA::8} - if kubectl -n argocd get application demo-frontend &>/dev/null; then - kubectl -n argocd patch application demo-frontend --type merge \ + if kubectl -n cicd get application demo-frontend &>/dev/null; then + kubectl -n cicd patch application demo-frontend --type merge \ -p "{\"spec\":{\"source\":{\"helm\":{\"parameters\":[{\"name\":\"image.registry\",\"value\":\"${REGISTRY}\"},{\"name\":\"image.tag\",\"value\":\"${SHORT}\"}]}}}}" echo "✓ ArgoCD app patched" fi