Skip to content

Commit c80f292

Browse files
author
nkowenski
committed
paralell builds alts
1 parent 0db516b commit c80f292

File tree

1 file changed

+76
-1
lines changed

1 file changed

+76
-1
lines changed

.github/workflows/build-alt.yaml

+76-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
IMAGE_NAMESPACE : clustersecret
1515

1616
jobs:
17-
build-push-quay:
17+
build-push-quay-v5:
1818
name: Build&Push Alt
1919
runs-on: ubuntu-24.04
2020
# strategy:
@@ -49,6 +49,31 @@ jobs:
4949
containerfiles: |
5050
./Dockerfile-others.gh
5151
52+
build-push-quay-s390:
53+
name: Build&Push Alt
54+
runs-on: ubuntu-24.04
55+
# strategy:
56+
# fail-fast: false
57+
# matrix:
58+
# install_latest: [ true, false ] #ubuntu-20.04 has a good enough podman.
59+
steps:
60+
# Checkout push-to-registry action github repository
61+
- name: Checkout Push to Registry action
62+
uses: actions/checkout@v2
63+
64+
# - name: Install latest podman
65+
# if: matrix.install_latest
66+
# run: |
67+
# bash .github/install_latest_podman.sh
68+
69+
- name: Install qemu dependency
70+
# we need quemu-user-static for builds other archs with buildah
71+
# https://github.com/containers/podman/issues/13924#issuecomment-1103434554
72+
run: |
73+
sudo apt-get update
74+
sudo apt-get install -y qemu-user-static
75+
sudo apt-get install -y rustc
76+
5277
- name: Build alt Image s390
5378
id: build_alt_image390
5479
uses: redhat-actions/buildah-build@main
@@ -59,6 +84,31 @@ jobs:
5984
containerfiles: |
6085
./Dockerfile-others.gh
6186
87+
build-push-quay-armv8:
88+
name: Build&Push Alt
89+
runs-on: ubuntu-24.04
90+
# strategy:
91+
# fail-fast: false
92+
# matrix:
93+
# install_latest: [ true, false ] #ubuntu-20.04 has a good enough podman.
94+
steps:
95+
# Checkout push-to-registry action github repository
96+
- name: Checkout Push to Registry action
97+
uses: actions/checkout@v2
98+
99+
# - name: Install latest podman
100+
# if: matrix.install_latest
101+
# run: |
102+
# bash .github/install_latest_podman.sh
103+
104+
- name: Install qemu dependency
105+
# we need quemu-user-static for builds other archs with buildah
106+
# https://github.com/containers/podman/issues/13924#issuecomment-1103434554
107+
run: |
108+
sudo apt-get update
109+
sudo apt-get install -y qemu-user-static
110+
sudo apt-get install -y rustc
111+
62112
- name: Build alt Image armv8
63113
id: build_alt_imagev8
64114
uses: redhat-actions/buildah-build@main
@@ -69,6 +119,31 @@ jobs:
69119
containerfiles: |
70120
./Dockerfile-others.gh
71121
122+
build-push-quay-armv7:
123+
name: Build&Push Alt
124+
runs-on: ubuntu-24.04
125+
# strategy:
126+
# fail-fast: false
127+
# matrix:
128+
# install_latest: [ true, false ] #ubuntu-20.04 has a good enough podman.
129+
steps:
130+
# Checkout push-to-registry action github repository
131+
- name: Checkout Push to Registry action
132+
uses: actions/checkout@v2
133+
134+
# - name: Install latest podman
135+
# if: matrix.install_latest
136+
# run: |
137+
# bash .github/install_latest_podman.sh
138+
139+
- name: Install qemu dependency
140+
# we need quemu-user-static for builds other archs with buildah
141+
# https://github.com/containers/podman/issues/13924#issuecomment-1103434554
142+
run: |
143+
sudo apt-get update
144+
sudo apt-get install -y qemu-user-static
145+
sudo apt-get install -y rustc
146+
72147
- name: Build alt Image armv7
73148
id: build_alt_imagev7
74149
uses: redhat-actions/buildah-build@main

0 commit comments

Comments
 (0)