From 96756f5d65d4a5c230b5d6c9241b776fe9411d09 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Thu, 31 Oct 2024 10:43:13 +0100 Subject: [PATCH] Use ci_token --- .forgejo/workflows/build_deploy.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/build_deploy.yaml b/.forgejo/workflows/build_deploy.yaml index dc6f99e..e195140 100644 --- a/.forgejo/workflows/build_deploy.yaml +++ b/.forgejo/workflows/build_deploy.yaml @@ -27,7 +27,7 @@ jobs: with: registry: git.unjx.de username: ${{ github.actor }} - password: ${{ github.token }} + password: ${{ secrets.CI_TOKEN }} - name: Build uses: docker/build-push-action@v6 with: @@ -37,3 +37,5 @@ jobs: V_GOLANG=${{ vars.V_GOLANG }} V_NODE=${{ vars.V_NODE }} V_ALPINE=${{ vars.V_ALPINE }} + secrets: | + GIT_AUTH_TOKEN=${{ secrets.CI_TOKEN }}