From f3dfdb2f9096b3eb7ffa70990fbb85ba9124cd5b Mon Sep 17 00:00:00 2001 From: Johannes Gasser Date: Sun, 3 May 2026 16:21:48 +0200 Subject: [PATCH] update token name --- .gitea/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 26212a8..4937f1c 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -27,7 +27,7 @@ jobs: with: registry: ${{ env.REGISTRY }} username: ${{ gitea.actor }} - password: ${{ secrets.GITEA_TOKEN }} + password: ${{ secrets.CI_TOKEN }} - name: Build and push Docker image uses: docker/build-push-action@v5 @@ -40,13 +40,13 @@ jobs: - name: Update image tag in gitops repo env: - GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }} + CI_TOKEN: ${{ secrets.CI_TOKEN }} SHA: ${{ steps.tag.outputs.sha }} run: | git config --global user.email "ci@idealconnected.com" git config --global user.name "Gitea CI" git clone \ - "https://${{ gitea.actor }}:${GITEA_TOKEN}@${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.GITOPS_REPO }}.git" \ + "https://${{ gitea.actor }}:${CI_TOKEN}@${{ env.REGISTRY }}/${{ env.ORG }}/${{ env.GITOPS_REPO }}.git" \ /tmp/gitops cd /tmp/gitops sed -i \