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