From d572ebfb71f3afdc3926c077f03ff227622e4b49 Mon Sep 17 00:00:00 2001 From: Leon Date: Thu, 12 Mar 2026 16:12:46 +0100 Subject: [PATCH] try fix ci cd --- .gitea/workflows/deploy.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 9b59e9e..5aa8a56 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -35,11 +35,9 @@ jobs: uses: actions/checkout@v4 - name: Login to Gitea Registry - uses: docker/login-action@v3 - with: - registry: ${{ github.server_url }} - username: ${{ github.actor }} - password: ${{ secrets.TOKEN_GITEA }} + run: | + REGISTRY_DOMAIN=$(echo "${{ github.server_url }}" | sed -e 's|https://||' -e 's|http://||') + echo "${{ secrets.TOKEN_GITEA }}" | docker login "$REGISTRY_DOMAIN" -u "${{ github.actor }}" --password-stdin - name: Build and Push run: |