Skip to content

Commit dfb738f

Browse files
committed
Try newer podman/buildah via travier/podman-action
Signed-off-by: Marcel Bargull <marcel.bargull@udo.edu>
1 parent 5f88144 commit dfb738f

File tree

2 files changed

+50
-14
lines changed

2 files changed

+50
-14
lines changed

.github/workflows/base-glibc-busybox-bash.yaml

+25-7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
build:
1616
name: Build & Push
1717
runs-on: ubuntu-24.04
18+
container:
19+
# travier/podman-action contains newer podman/buildah versions.
20+
image: quay.io/travier/podman-action
21+
options: --privileged
1822
env:
1923
# The base image is not intended to change often and should be used with
2024
# version tags or checksum IDs, but not via "latest".
@@ -28,15 +32,29 @@ jobs:
2832
- uses: actions/checkout@v4
2933

3034
- name: Set up QEMU
31-
uses: docker/setup-qemu-action@v2
32-
with:
33-
platforms: arm64
35+
run: |
36+
podman run --rm --privileged \
37+
docker.io/tonistiigi/binfmt --install arm64
3438
35-
- name: Info
39+
- name: Install Tools
3640
run: |
37-
set -xeu
38-
podman --version
39-
buildah --version
41+
set -eu
42+
# jq is not installed in travier/podman-action
43+
dnf install -qy \
44+
jq
45+
rpm -q \
46+
buildah podman \
47+
coreutils findutils sed \
48+
curl jq \
49+
| (
50+
while read -r line ; do
51+
printf %s\\n "${line}"
52+
case "${line}" in (*' not installed'*)
53+
err=1 ;;
54+
esac
55+
done
56+
exit "${err-0}"
57+
)
4058
4159
- name: Build
4260
id: build

.github/workflows/base-glibc-debian-bash.yaml

+25-7
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
build:
1616
name: Build & Push
1717
runs-on: ubuntu-24.04
18+
container:
19+
# travier/podman-action contains newer podman/buildah versions.
20+
image: quay.io/travier/podman-action
21+
options: --privileged
1822
env:
1923
# The base image is not intended to change often and should be used with
2024
# version tags or checksum IDs, but not via "latest".
@@ -27,15 +31,29 @@ jobs:
2731
- uses: actions/checkout@v4
2832

2933
- name: Set up QEMU
30-
uses: docker/setup-qemu-action@v2
31-
with:
32-
platforms: arm64
34+
run: |
35+
podman run --rm --privileged \
36+
docker.io/tonistiigi/binfmt --install arm64
3337
34-
- name: Info
38+
- name: Install Tools
3539
run: |
36-
set -xeu
37-
podman --version
38-
buildah --version
40+
set -eu
41+
# jq is not installed in travier/podman-action
42+
dnf install -qy \
43+
jq
44+
rpm -q \
45+
buildah podman \
46+
coreutils findutils sed \
47+
curl jq \
48+
| (
49+
while read -r line ; do
50+
printf %s\\n "${line}"
51+
case "${line}" in (*' not installed'*)
52+
err=1 ;;
53+
esac
54+
done
55+
exit "${err-0}"
56+
)
3957
4058
- name: Build
4159
id: build

0 commit comments

Comments
 (0)