[c] fix docker login
Some checks failed
Build and Push Docker Image / docker-build (push) Failing after 35s

This commit is contained in:
Sangelo 2024-10-21 15:48:25 +02:00
parent 2da4c4a62b
commit f78ea4e454

View file

@ -26,11 +26,9 @@ jobs:
token: ${{ secrets.FORGEJO_TOKEN }}
- name: 👤 Log in to the Container registry
uses: https://github.com/docker/login-action@v2
with:
registry: ${{ env.REGISTRY }}
username: ${{ gitea.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
id: login
run: |
echo "${{ secrets.FORGEJO_TOKEN }}" | docker login gitpot.org -u ${{ gitea.actor }} --password-stdin
- name: ✏️ Extract metadata (tags, labels) for Docker
id: meta