From f8fd8688a2e42cd5aaf4d0baea6ae93378321f43 Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Sun, 6 Apr 2025 21:34:10 -0700 Subject: [PATCH] Update to pushing-with-credentials --- .gitea/workflows/publish.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index 683ca03..ec8f5c1 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -55,11 +55,12 @@ jobs: env: GITEA_PASSWORD: ${{ env.GITEA_TOKEN }} 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 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 push origin main:main - cd ... + git remote add origin-with-credentials https://scubbo:${GITEA_PASSWORD}@gitea.scubbo.org/scubbo/helm-charts.git + git push origin-with-credentials main:main + cd .. rm -rf helm-charts