I have my workflow in Github Actions which builds the Docker Image & Tags it. In the next Job I am updating the image_tag in the values.yaml as below,
sed -i -e 's/imageTag: .*/'"imageTag: $image_tag/" ./charts/$values.yaml
Commit the change & git push using a pat token
git push https://[email protected]/test/argo-content.git HEAD:test
This works fine until we enable Branch Protection Rules, which results in failure with git push.
Wanted to check if there is any work around updating the image Tag without a git push through scripting.
Need Suggestions.