diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6cd3882..832fd13 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,12 +43,13 @@ jobs: - thrimshim - zulip_bots steps: - - name: Install git + - name: Install git & podman # the buildah/stable image doesn't include git # actions/checkout works without git, but not if you do submodules # thus, we install git + # we need podman for the podman-login action unfortunately run: | - sudo dnf install -y git + sudo dnf install -y git podman - name: Check out repo uses: actions/checkout@v3 @@ -68,12 +69,11 @@ jobs: sudo dnf install -y qemu-user-static - name: Log into ghcr.io - env: + uses: redhat-actions/podman-login@v1 + with: registry: ghcr.io username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - run: | - buildah login "$registry" --username "$username" --password "$password" - name: Build ${{ matrix.component }} # always push