Skip to content

Commit

Permalink
workflows: build and push fedora arm64 images
Browse files Browse the repository at this point in the history
Extend build matrix to include fedora arm64 images with default package
source.

Signed-off-by: Alexander Bachmann <[email protected]>
  • Loading branch information
abachmann committed Oct 23, 2024
1 parent 028a249 commit 8030547
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ jobs:
- package_source: devbuilds
os: centos
arch: amd64
- package_source: default
os: fedora
arch: arm64
runs-on: ubuntu-latest
env:
BUILDAH_FORMAT: oci
Expand Down Expand Up @@ -82,6 +85,10 @@ jobs:
# the distro packages for centos do not include an ad-dc
- package_source: default
os: centos
include:
- package_source: default
os: fedora
arch: arm64
runs-on: ubuntu-latest
env:
BUILDAH_FORMAT: oci
Expand All @@ -102,6 +109,10 @@ jobs:
matrix:
os: [centos, fedora, opensuse]
arch: [amd64]
include:
- package_source: default
os: fedora
arch: arm64
runs-on: ubuntu-latest
env:
BUILDAH_FORMAT: oci
Expand Down Expand Up @@ -250,6 +261,11 @@ jobs:
with:
image: "samba-server:default-fedora-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch server default-fedora-arm64
uses: ishworkh/[email protected]
with:
image: "samba-server:default-fedora-arm64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch server nightly-fedora-amd64
uses: ishworkh/[email protected]
with:
Expand All @@ -271,6 +287,11 @@ jobs:
with:
image: "samba-ad-server:default-fedora-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch ad-server default-fedora-arm64
uses: ishworkh/[email protected]
with:
image: "samba-ad-server:default-fedora-arm64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch ad-server nightly-fedora-amd64
uses: ishworkh/[email protected]
with:
Expand All @@ -282,12 +303,22 @@ jobs:
with:
image: "samba-client:default-fedora-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch client default-fedora-arm64
uses: ishworkh/[email protected]
with:
image: "samba-client:default-fedora-arm64"
container_engine: ${{ env.CONTAINER_CMD }}
# (toolbox images)
- name: Fetch toolbox default-fedora-amd64
uses: ishworkh/[email protected]
with:
image: "samba-toolbox:default-fedora-amd64"
container_engine: ${{ env.CONTAINER_CMD }}
- name: Fetch toolbox default-fedora-arm64
uses: ishworkh/[email protected]
with:
image: "samba-toolbox:default-fedora-arm64"
container_engine: ${{ env.CONTAINER_CMD }}
# reapply missing tags
- name: Retag images
run: >
Expand All @@ -297,13 +328,17 @@ jobs:
--repo-base=${REPO_BASE}
--no-distro-qualified
-i samba-server:default-fedora-amd64
-i samba-server:default-fedora-arm64
-i samba-server:nightly-fedora-amd64
-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:nightly-fedora-amd64
-i samba-client:default-fedora-amd64
-i samba-client:default-fedora-arm64
-i samba-toolbox:default-fedora-amd64
-i samba-toolbox:default-fedora-arm64
- name: Push images
run: >
./hack/build-image
Expand All @@ -313,10 +348,14 @@ jobs:
--push-state=exists
--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: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:nightly-fedora-amd64
-i ${REPO_BASE}/samba-client:default-fedora-amd64
-i ${REPO_BASE}/samba-client:default-fedora-arm64
-i ${REPO_BASE}/samba-toolbox:default-fedora-amd64
-i ${REPO_BASE}/samba-toolbox:default-fedora-arm64

0 comments on commit 8030547

Please sign in to comment.