Skip to content

Commit aff2001

Browse files
phlogistonjohnmergify[bot]
authored andcommitted
github: use build-image make rule in ci jobs
Use the build-image makefile rule in order to pass the matrix parameters by variable to the build-image script. This aligns the CI jobs better with the new script. Signed-off-by: John Mulligan <[email protected]>
1 parent 4670cd6 commit aff2001

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/container-image.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
steps:
4747
- uses: actions/checkout@v3
4848
- name: Build the server image
49-
run: make OS_NAME=${{ matrix.os}} BUILD_ARCH=${{ matrix.arch}} build-server
49+
run: make KIND=server OS_NAME=${{ matrix.os}} BUILD_ARCH=${{ matrix.arch}} build-image
5050
- name: Upload server image
5151
uses: ishworkh/[email protected]
5252
with:
@@ -67,7 +67,7 @@ jobs:
6767
steps:
6868
- uses: actions/checkout@v3
6969
- name: Build the ad server image
70-
run: make OS_NAME=${{matrix.os}} BUILD_ARCH=${{matrix.arch}} build-ad-server
70+
run: make KIND=ad-server OS_NAME=${{matrix.os}} BUILD_ARCH=${{matrix.arch}} build-image
7171
- name: Upload ad server image
7272
uses: ishworkh/[email protected]
7373
with:
@@ -86,7 +86,7 @@ jobs:
8686
steps:
8787
- uses: actions/checkout@v3
8888
- name: build the client image
89-
run: make OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-client
89+
run: make KIND=client OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
9090
# Here we upload samba-client image to artifacts locally for consumption
9191
# during the samba-toolbox build process.
9292
- name: Upload the client image
@@ -115,7 +115,7 @@ jobs:
115115
image: "quay.io/samba.org/samba-client:${{ matrix.os }}-latest"
116116
container_engine: ${{ env.CONTAINER_CMD }}
117117
- name: Build the toolbox image
118-
run: make OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-toolbox
118+
run: make KIND=toolbox OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
119119

120120
test-server:
121121
strategy:
@@ -147,7 +147,7 @@ jobs:
147147
steps:
148148
- uses: actions/checkout@v3
149149
- name: Build the nightly server image
150-
run: make OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-nightly-server
150+
run: make KIND=server PACKAGE_SOURCE=nightly OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
151151
- name: Upload nightly server image
152152
uses: ishworkh/[email protected]
153153
with:
@@ -166,7 +166,7 @@ jobs:
166166
steps:
167167
- uses: actions/checkout@v3
168168
- name: Build the nightly ad server image
169-
run: make OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-nightly-ad-server
169+
run: make KIND=ad-server PACKAGE_SOURCE=nightly OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-image
170170
- name: Upload nightly AD server image
171171
uses: ishworkh/[email protected]
172172
with:

0 commit comments

Comments
 (0)