Skip to content

Commit

Permalink
workflows: build and push opensuse arm64 images
Browse files Browse the repository at this point in the history
Extend the build matrix to include opensuse arm64 images for samba-server,
samba-ad-server and samba-client.

Signed-off-by: Alexander Bachmann <[email protected]>
  • Loading branch information
abachmann authored and phlogistonjohn committed Nov 27, 2024
1 parent 4ec2571 commit e49ca06
Showing 1 changed file with 29 additions and 9 deletions.
38 changes: 29 additions & 9 deletions .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,17 @@ jobs:
matrix:
package_source: [default, nightly]
os: [centos, fedora, opensuse]
arch: [amd64]
arch: [amd64, arm64]
exclude:
# there are no nightly packages for opensuse
- package_source: nightly
os: opensuse
- os: centos
arch: arm64
include:
- package_source: devbuilds
os: centos
arch: amd64
- os: fedora
arch: arm64
runs-on: ubuntu-latest
env:
BUILDAH_FORMAT: oci
Expand All @@ -76,16 +76,15 @@ jobs:
matrix:
package_source: [default, nightly]
os: [centos, fedora, opensuse]
arch: [amd64]
arch: [amd64, arm64]
exclude:
# there are no nightly packages for opensuse
- package_source: nightly
os: opensuse
# the distro packages for centos do not include an ad-dc
- package_source: default
os: centos
include:
- os: fedora
- os: centos
arch: arm64
runs-on: ubuntu-latest
env:
Expand All @@ -106,9 +105,9 @@ jobs:
strategy:
matrix:
os: [centos, fedora, opensuse]
arch: [amd64]
include:
- os: fedora
arch: [amd64, arm64]
exclude:
- os: centos
arch: arm64
runs-on: ubuntu-latest
env:
Expand Down Expand Up @@ -263,6 +262,11 @@ jobs:
with:
image: "samba-server:default-fedora-arm64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch server default-opensuse-arm64
uses: ishworkh/[email protected]
with:
image: "samba-server:default-opensuse-arm64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch server nightly-fedora-amd64
uses: ishworkh/[email protected]
with:
Expand Down Expand Up @@ -294,6 +298,11 @@ jobs:
with:
image: "samba-ad-server:default-fedora-arm64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch ad-server default-opensuse-arm64
uses: ishworkh/[email protected]
with:
image: "samba-ad-server:default-opensuse-arm64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch ad-server nightly-fedora-amd64
uses: ishworkh/[email protected]
with:
Expand All @@ -315,6 +324,11 @@ jobs:
with:
image: "samba-client:default-fedora-arm64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch client default-opensuse-arm64
uses: ishworkh/[email protected]
with:
image: "samba-client:default-opensuse-arm64"
container_engine: ${{ env.CONTAINER_CMD }}
# (toolbox images)
- name: Fetch toolbox default-fedora-amd64
uses: ishworkh/[email protected]
Expand All @@ -331,16 +345,19 @@ jobs:
--no-distro-qualified
-i samba-server:default-fedora-amd64
-i samba-server:default-fedora-arm64
-i samba-server:default-opensuse-arm64
-i samba-server:nightly-fedora-amd64
-i samba-server:nightly-fedora-arm64
-i samba-server:nightly-centos-amd64
-i samba-server:devbuilds-centos-amd64
-i samba-ad-server:default-fedora-amd64
-i samba-ad-server:default-fedora-arm64
-i samba-ad-server:default-opensuse-arm64
-i samba-ad-server:nightly-fedora-amd64
-i samba-ad-server:nightly-fedora-arm64
-i samba-client:default-fedora-amd64
-i samba-client:default-fedora-arm64
-i samba-client:default-opensuse-arm64
-i samba-toolbox:default-fedora-amd64
- name: Push images
run: >
Expand All @@ -352,12 +369,15 @@ jobs:
--push-selected-tags=mixed
-i ${REPO_BASE}/samba-server:default-fedora-amd64
-i ${REPO_BASE}/samba-server:default-fedora-arm64
-i ${REPO_BASE}/samba-server:default-opensuse-arm64
-i ${REPO_BASE}/samba-server:nightly-fedora-amd64
-i ${REPO_BASE}/samba-server:nightly-centos-amd64
-i ${REPO_BASE}/samba-server:devbuilds-centos-amd64
-i ${REPO_BASE}/samba-ad-server:default-fedora-amd64
-i ${REPO_BASE}/samba-ad-server:default-fedora-arm64
-i ${REPO_BASE}/samba-ad-server:default-opensuse-arm64
-i ${REPO_BASE}/samba-ad-server:nightly-fedora-amd64
-i ${REPO_BASE}/samba-client:default-fedora-amd64
-i ${REPO_BASE}/samba-client:default-fedora-arm64
-i ${REPO_BASE}/samba-client:default-opensuse-arm64
-i ${REPO_BASE}/samba-toolbox:default-fedora-amd64

0 comments on commit e49ca06

Please sign in to comment.