mirror of
https://gitea.pinpod.ir/pinwar/gh-actions.git
synced 2026-09-15 14:30:14 +00:00
fix: use set
This commit is contained in:
11
.github/workflows/argocd.yaml
vendored
11
.github/workflows/argocd.yaml
vendored
@@ -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 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 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 set annotation deployed-by "github-actions[bot]"
|
||||||
kustomize edit add annotation commit-sha "${{ github.sha }}"
|
kustomize edit set annotation commit-sha "${{ github.sha }}"
|
||||||
kustomize edit add annotation branch "${{ github.ref_name }}"
|
kustomize edit set annotation branch "${{ github.ref_name }}"
|
||||||
kustomize edit add annotation repository "${{ github.repository }}"
|
kustomize edit set annotation repository "${{ github.repository }}"
|
||||||
kustomize edit add annotation commit-origin ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}
|
kustomize edit set annotation commit-origin ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}
|
||||||
|
|
||||||
- name: kustomize debug
|
- name: kustomize debug
|
||||||
if: ${{ inputs.debug }}
|
if: ${{ inputs.debug }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user