fix: use github.token for git push in forgejo workflow

This commit is contained in:
Graham McIntire 2026-04-17 13:05:04 -05:00
parent 7b725206af
commit 0f0cc0db88
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -57,7 +57,7 @@ jobs:
TAG="${{ steps.tag.outputs.tag }}"
git config user.name "FluxCD"
git config user.email "fluxcd@w5isp.com"
git remote set-url origin https://${{ secrets.REGISTRY_USER }}:${{ secrets.REGISTRY_PASSWORD }}@git.mcintire.me/graham/aprs.me.git
git remote set-url origin https://x-token:${{ github.token }}@git.mcintire.me/graham/aprs.me.git
git add k8s/deployment.yaml
git diff --cached --quiet && echo "No changes to commit" && exit 0
git commit -m "chore: update aprs.me image to ${IMAGE}:${TAG} [skip ci]"