Skip to content

Commit fa27f06

Browse files
anoopcs9mergify[bot]
authored andcommitted
workflows: Add jobs to test nightly rpms on CentOS
Signed-off-by: Anoop C S <[email protected]>
1 parent b5f07c5 commit fa27f06

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/container-image.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,20 @@ jobs:
176176
image: "samba-server:nightly"
177177
retention_days: 1
178178

179+
build-nightly-server-centos:
180+
runs-on: ubuntu-latest
181+
env:
182+
BUILDAH_FORMAT: oci
183+
steps:
184+
- uses: actions/checkout@v3
185+
- name: Build the nightly server image
186+
run: make OS_NAME=centos build-nightly-server
187+
- name: Upload nightly server image
188+
uses: ishworkh/docker-image-artifact-upload@v1
189+
with:
190+
image: "samba-server:centos-nightly"
191+
retention_days: 1
192+
179193
build-nightly-ad-server:
180194
runs-on: ubuntu-latest
181195
env:
@@ -202,6 +216,18 @@ jobs:
202216
- name: Test the nightly server image
203217
run: LOCAL_TAG=samba-server:nightly tests/test-samba-container.sh
204218

219+
test-nightly-server-centos:
220+
needs: build-nightly-server-centos
221+
runs-on: ubuntu-latest
222+
steps:
223+
- uses: actions/checkout@v3
224+
- name: Download nightly server image
225+
uses: ishworkh/docker-image-artifact-download@v1
226+
with:
227+
image: "samba-server:centos-nightly"
228+
- name: Test the nightly server image
229+
run: LOCAL_TAG=samba-server:centos-nightly tests/test-samba-container.sh
230+
205231
test-ad-server-kubernetes:
206232
needs:
207233
- build-ad-server

0 commit comments

Comments
 (0)