Install podman and use podman-login action

HubbeKing-multiplatform-builds
Hubbe 3 weeks ago committed by GitHub
parent 1e25d15404
commit b19fad22ce
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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

Loading…
Cancel
Save