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