Tsuki/gitops-update

★ 0Forks 0GitHub ↗Compare

README

gitops-update

GitHub Action that updates a single key in another GitHub repository.

Example:

You have a deployment.yaml file in a myorg/app-env repository that has below content:

Add this to GitHub acion:

- name: GitOps Update
	uses: simplycubed/[email protected]
	with:
		filename: "path/to/deployment.yaml"
		key: "image"
		value: '${{ secrets.REGISTRY_LOGIN_SERVER }}/sampleapp:${{ github.sha }}'
		github-deploy-key: ${{ secrets.GITOPS_SSH_PRIVATE_KEY }}
		github-org-and-repo:  "myorg/app-env"

Contributors

hanzala1234Tsukidependabot[bot]mend-bolt-for-github[bot]

Issues