Try checking-out with the prebuilt action
Some checks failed
Publish / build-and-push (push) Successful in 3m57s
Publish / update-helm-chart (push) Failing after 35s

This commit is contained in:
Jack Jackson 2025-04-06 22:17:32 -07:00
parent a9198c19c7
commit 33191d57d7

View File

@ -51,19 +51,24 @@ jobs:
run: |
echo "Image pushed: gitea.scubbo.org/scubbo/edh-elo:${{ gitea.sha }}"
- name: Update Helm Chart
env:
GITEA_PASSWORD: ${{ env.GITEA_TOKEN }}
update-helm-chart:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
repository: scubbo/helm-charts
path: helm-charts
github-server-url: https://gitea.scubbo.org
- name: Update
run: |
echo "Hello this is some output"
#git config --global --unset credential.helper
git config --list
git clone -vvv https://gitea.scubbo.org/scubbo/helm-charts.git
cd helm-charts
yq -i '.image.tag = "${{ gitea.sha }}"' charts/edh-elo/values.yaml
git add -A
git -c user.name="Imagebot" -c user.email="fake@scubbo.org" commit -m 'Update EDH ELO commit to "${{ gitea.sha }}"'
git remote add origin-with-credentials https://scubbo:${GITEA_PASSWORD}@gitea.scubbo.org/scubbo/helm-charts.git
git push origin-with-credentials main:main
# git remote add origin-with-credentials https://scubbo:${GITEA_PASSWORD}@gitea.scubbo.org/scubbo/helm-charts.git
# git push origin-with-credentials main:main
git push
cd ..
rm -rf helm-charts