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: |