Commit dfb738f 1 parent 5f88144 commit dfb738f Copy full SHA for dfb738f
File tree 2 files changed +50
-14
lines changed
2 files changed +50
-14
lines changed Original file line number Diff line number Diff line change 15
15
build :
16
16
name : Build & Push
17
17
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
18
22
env :
19
23
# The base image is not intended to change often and should be used with
20
24
# version tags or checksum IDs, but not via "latest".
@@ -28,15 +32,29 @@ jobs:
28
32
- uses : actions/checkout@v4
29
33
30
34
- 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
34
38
35
- - name : Info
39
+ - name : Install Tools
36
40
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
+ )
40
58
41
59
- name : Build
42
60
id : build
Original file line number Diff line number Diff line change 15
15
build :
16
16
name : Build & Push
17
17
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
18
22
env :
19
23
# The base image is not intended to change often and should be used with
20
24
# version tags or checksum IDs, but not via "latest".
@@ -27,15 +31,29 @@ jobs:
27
31
- uses : actions/checkout@v4
28
32
29
33
- 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
33
37
34
- - name : Info
38
+ - name : Install Tools
35
39
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
+ )
39
57
40
58
- name : Build
41
59
id : build
You can’t perform that action at this time.
0 commit comments