argocd-helm-update-yaml is a github action used to update image tag in helm values file
Action has to be invoked with below parameters
Required username to access github repo
Required Personal Access Token for k8s deployment files repo
Required Image tag of the docker image
Required App name to be updated
Required Environment to be update
Required Repo Name where Helm Chart files exits
Required Branch Name
- name: ArgoCD Repo Checkout
uses: actions/checkout@v3
with:
repository: reponame
token: ${{ secrets.GH_TOKEN }}
ref: originize_repo
- name: Update image tag in helm chart
uses: sivakumarvunnam/argocd-helm-update-yaml@main # Uses an action in the root directory
id: deployment-update
with:
git_user: username
git_password: ${{ secrets.GH_TOKEN }}
image_tag: ${{needs.build-and-push-docker-image.outputs.new_tag}}
app_name: ${{needs.build-and-push-docker-image.outputs.app_name}}
environment: dot
git_repo: reponame
git_branch: originize_repo