From f78ea4e4545875a27e3b11b452ce919a5df6846a Mon Sep 17 00:00:00 2001 From: Sangelo Date: Mon, 21 Oct 2024 15:48:25 +0200 Subject: [PATCH] [c] fix docker login --- .forgejo/workflows/build.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 9dc4ce3..611c195 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -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