Simplify login step in deploy-image.yml by replacing docker/login-action with manual login command
Build and Push Docker Image / build-and-push (push) Failing after 6s

This commit is contained in:
2026-06-29 18:48:26 +02:00
parent 3284d70ac6
commit eb7bdb5870
+1 -5
View File
@@ -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