Update to pushing-with-credentials
Some checks failed
Publish / build-and-push (push) Failing after 4m10s

This commit is contained in:
Jack Jackson 2025-04-06 21:34:10 -07:00
parent 6f6b58159f
commit f8fd8688a2

View File

@ -55,11 +55,12 @@ jobs:
env: env:
GITEA_PASSWORD: ${{ env.GITEA_TOKEN }} GITEA_PASSWORD: ${{ env.GITEA_TOKEN }}
run: | run: |
git clone https://scubbo:${GITEA_PASSWORD}@gitea.scubbo.org/scubbo/helm-charts.git git clone https://gitea.scubbo.org/scubbo/helm-charts.git
cd helm-charts cd helm-charts
yq -i '.image.tag = "${{ gitea.sha }}"' charts/edh-elo/values.yaml yq -i '.image.tag = "${{ gitea.sha }}"' charts/edh-elo/values.yaml
git add -A git add -A
git -c user.name="Imagebot" -c user.email="fake@scubbo.org" commit -m 'Update EDH ELO commit to "${{ gitea.sha }}"' git -c user.name="Imagebot" -c user.email="fake@scubbo.org" commit -m 'Update EDH ELO commit to "${{ gitea.sha }}"'
git push origin main:main git remote add origin-with-credentials https://scubbo:${GITEA_PASSWORD}@gitea.scubbo.org/scubbo/helm-charts.git
cd ... git push origin-with-credentials main:main
cd ..
rm -rf helm-charts rm -rf helm-charts