From 1e25d154045088636aecd0440c8a3574779c7a9d Mon Sep 17 00:00:00 2001 From: Hubbe Date: Fri, 8 Nov 2024 13:03:32 +0200 Subject: [PATCH] Log in to ghcr.io manually using run. --- .github/workflows/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8d3ddd0..6cd3882 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -68,11 +68,12 @@ jobs: sudo dnf install -y qemu-user-static - name: Log into ghcr.io - uses: redhat-actions/podman-login@v1 - with: + env: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} + run: | + buildah login "$registry" --username "$username" --password "$password" - name: Build ${{ matrix.component }} # always push