From 176abcc7874f3a4745b187124698babee72095ba Mon Sep 17 00:00:00 2001 From: Sangelo Date: Mon, 21 Oct 2024 15:53:44 +0200 Subject: [PATCH] [c] fix docker login, again --- .forgejo/workflows/build.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml index 611c195..b8c6ed1 100644 --- a/.forgejo/workflows/build.yml +++ b/.forgejo/workflows/build.yml @@ -26,9 +26,11 @@ jobs: token: ${{ secrets.FORGEJO_TOKEN }} - name: 👤 Log in to the Container registry - id: login - run: | - echo "${{ secrets.FORGEJO_TOKEN }}" | docker login gitpot.org -u ${{ gitea.actor }} --password-stdin + uses: https://github.com/docker/login-action@v3 + with: + registry: ${{ env.REGISTRY }} + username: ${{ gitea.actor }} + password: ${{ secrets.FORGEJO_TOKEN }} - name: ✏️ Extract metadata (tags, labels) for Docker id: meta