diff --git a/.gitea/workflows/deploy-image.yml b/.gitea/workflows/deploy-image.yml index 50217b8..e89b956 100644 --- a/.gitea/workflows/deploy-image.yml +++ b/.gitea/workflows/deploy-image.yml @@ -41,11 +41,7 @@ jobs: echo "tag=${TAG}" >> "$GITHUB_OUTPUT" - name: Log in to Gitea Container Registry - uses: docker/login-action@v3 - with: - registry: ${{ steps.meta.outputs.registry }} - username: ${{ steps.meta.outputs.actor }} - password: ${{ secrets.GITEA_TOKEN }} + run: echo "${{ secrets.GITEA_TOKEN }}" | docker login "${{ steps.meta.outputs.registry }}" -u "${{ steps.meta.outputs.actor }}" --password-stdin - name: Build and push Docker image uses: docker/build-push-action@v5