From 656c2227fb42a89ff7b5b2d86f52068e9a4d673e Mon Sep 17 00:00:00 2001 From: Gharekhani Ehsan Date: Thu, 25 Dec 2025 16:18:34 +0330 Subject: [PATCH] fix: use set --- .github/workflows/argocd.yaml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/argocd.yaml b/.github/workflows/argocd.yaml index d505754..d73c81c 100644 --- a/.github/workflows/argocd.yaml +++ b/.github/workflows/argocd.yaml @@ -115,12 +115,11 @@ jobs: kustomize edit set image ${{ inputs.registry }}/${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG_CS }}/${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG_URL_CS }}:latest=${{ inputs.registry }}/${{ env.GITHUB_REPOSITORY_OWNER_PART_SLUG_CS }}/${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG_URL_CS }}:sha-${{ github.sha }} kustomize edit set namespace ${{ env.GITHUB_REPOSITORY_NAME_PART_SLUG_URL_CS }}-${{ env.GITHUB_REF_SLUG }} - kustomize edit add annotation deployed-by "github-actions[bot]" - kustomize edit add annotation commit-sha "${{ github.sha }}" - kustomize edit add annotation branch "${{ github.ref_name }}" - kustomize edit add annotation repository "${{ github.repository }}" - kustomize edit add annotation commit-origin ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }} - + kustomize edit set annotation deployed-by "github-actions[bot]" + kustomize edit set annotation commit-sha "${{ github.sha }}" + kustomize edit set annotation branch "${{ github.ref_name }}" + kustomize edit set annotation repository "${{ github.repository }}" + kustomize edit set annotation commit-origin ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }} - name: kustomize debug if: ${{ inputs.debug }} run: |