-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
workflows: build and push opensuse arm64 images
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
1 parent
ed98b07
commit a7a3866
Showing
1 changed file
with
29 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -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: | ||
|
@@ -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] | ||
|
@@ -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: > | ||
|
@@ -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 |