From dfb0f1aab6bd74c5dd18d9b9964d40d9a2c60d4f Mon Sep 17 00:00:00 2001 From: Jack Jackson Date: Sun, 6 Apr 2025 22:40:16 -0700 Subject: [PATCH] Try a basic git clone with k8s-internal domain --- .gitea/workflows/publish.yaml | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.gitea/workflows/publish.yaml b/.gitea/workflows/publish.yaml index c8b7868..9ca48bc 100644 --- a/.gitea/workflows/publish.yaml +++ b/.gitea/workflows/publish.yaml @@ -51,21 +51,10 @@ jobs: run: | echo "Image pushed: gitea.scubbo.org/scubbo/edh-elo:${{ gitea.sha }}" - update-helm-chart: - runs-on: ubuntu-latest - needs: - - build-and-push - - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - repository: scubbo/helm-charts - path: helm-charts - github-server-url: http://gitea-http:3000 - - - name: Update + - name: Update Helm Chart run: | + pushd /tmp + git clone http://gitea-http:3000/scubbo/helm-charts.git cd helm-charts yq -i '.image.tag = "${{ gitea.sha }}"' charts/edh-elo/values.yaml git add -A @@ -75,3 +64,4 @@ jobs: git push cd .. rm -rf helm-charts + popd