48
48
- name : Build the server image
49
49
run : make OS_NAME=${{ matrix.os}} BUILD_ARCH=${{ matrix.arch}} build-server
50
50
- name : Upload server image
51
- uses : ishworkh/docker -image-artifact-upload@v1
51
+ uses : ishworkh/container -image-artifact-upload@v1.0.0
52
52
with :
53
53
image : " samba-server:${{ matrix.os }}-latest"
54
+ container_engine : ${{ env.CONTAINER_CMD }}
54
55
retention_days : 1
55
56
56
57
build-ad-server :
68
69
- name : Build the ad server image
69
70
run : make OS_NAME=${{matrix.os}} BUILD_ARCH=${{matrix.arch}} build-ad-server
70
71
- name : Upload ad server image
71
- uses : ishworkh/docker -image-artifact-upload@v1
72
+ uses : ishworkh/container -image-artifact-upload@v1.0.0
72
73
with :
73
74
image : " samba-ad-server:${{ matrix.os}}-latest"
75
+ container_engine : ${{ env.CONTAINER_CMD }}
74
76
retention_days : 1
75
77
76
78
build-client :
88
90
# Here we upload samba-client image to artifacts locally for consumption
89
91
# during the samba-toolbox build process.
90
92
- name : Upload the client image
91
- uses : ishworkh/docker -image-artifact-upload@v1
93
+ uses : ishworkh/container -image-artifact-upload@v1.0.0
92
94
with :
93
95
image : " quay.io/samba.org/samba-client:${{ matrix.os }}-latest"
96
+ container_engine : ${{ env.CONTAINER_CMD }}
94
97
retention_days : 1
95
98
96
99
build-toolbox :
@@ -107,9 +110,10 @@ jobs:
107
110
# Download locally stored samba-client image to be used as base for building
108
111
# samba-toolbox.
109
112
- name : Download client image
110
- uses : ishworkh/docker -image-artifact-download@v1
113
+ uses : ishworkh/container -image-artifact-download@v1.0.0
111
114
with :
112
115
image : " quay.io/samba.org/samba-client:${{ matrix.os }}-latest"
116
+ container_engine : ${{ env.CONTAINER_CMD }}
113
117
- name : Build the toolbox image
114
118
run : make OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-toolbox
115
119
@@ -123,9 +127,10 @@ jobs:
123
127
steps :
124
128
- uses : actions/checkout@v3
125
129
- name : Download server image
126
- uses : ishworkh/docker -image-artifact-download@v1
130
+ uses : ishworkh/container -image-artifact-download@v1.0.0
127
131
with :
128
132
image : " samba-server:${{ matrix.os }}-latest"
133
+ container_engine : ${{ env.CONTAINER_CMD }}
129
134
- name : Test the server image
130
135
run : LOCAL_TAG="samba-server:${{ matrix.os}}-latest" tests/test-samba-container.sh
131
136
@@ -144,9 +149,10 @@ jobs:
144
149
- name : Build the nightly server image
145
150
run : make OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-nightly-server
146
151
- name : Upload nightly server image
147
- uses : ishworkh/docker -image-artifact-upload@v1
152
+ uses : ishworkh/container -image-artifact-upload@v1.0.0
148
153
with :
149
154
image : " samba-server:${{ matrix.os }}-nightly"
155
+ container_engine : ${{ env.CONTAINER_CMD }}
150
156
retention_days : 1
151
157
152
158
build-nightly-ad-server :
@@ -164,9 +170,10 @@ jobs:
164
170
- name : Build the nightly ad server image
165
171
run : make OS_NAME=${{ matrix.os }} BUILD_ARCH=${{ matrix.arch }} build-nightly-ad-server
166
172
- name : Upload nightly AD server image
167
- uses : ishworkh/docker -image-artifact-upload@v1
173
+ uses : ishworkh/container -image-artifact-upload@v1.0.0
168
174
with :
169
175
image : " samba-ad-server:${{ matrix.os }}-nightly"
176
+ container_engine : ${{ env.CONTAINER_CMD }}
170
177
retention_days : 1
171
178
172
179
test-nightly-server :
@@ -179,9 +186,10 @@ jobs:
179
186
steps :
180
187
- uses : actions/checkout@v3
181
188
- name : Download nightly server image
182
- uses : ishworkh/docker -image-artifact-download@v1
189
+ uses : ishworkh/container -image-artifact-download@v1.0.0
183
190
with :
184
191
image : " samba-server:${{ matrix.os }}-nightly"
192
+ container_engine : ${{ env.CONTAINER_CMD }}
185
193
- name : Test the nightly server image
186
194
run : LOCAL_TAG=samba-server:${{ matrix.os }}-nightly tests/test-samba-container.sh
187
195
@@ -205,15 +213,17 @@ jobs:
205
213
- name : get nodes
206
214
run : kubectl get nodes
207
215
- name : Download ad server image
208
- uses : ishworkh/docker -image-artifact-download@v1
216
+ uses : ishworkh/container -image-artifact-download@v1.0.0
209
217
with :
210
218
image : " samba-ad-server:${{ matrix.os }}-latest"
219
+ container_engine : ${{ env.CONTAINER_CMD }}
211
220
- name : import ad server image
212
221
run : k3d image import samba-ad-server:${{ matrix.os }}-latest
213
222
- name : Download file server image
214
- uses : ishworkh/docker -image-artifact-download@v1
223
+ uses : ishworkh/container -image-artifact-download@v1.0.0
215
224
with :
216
225
image : " samba-server:${{ matrix.os }}-latest"
226
+ container_engine : ${{ env.CONTAINER_CMD }}
217
227
- name : import file server image
218
228
run : k3d image import samba-server:${{ matrix.os }}-latest
219
229
- name : run the ad-dc deployment test
@@ -239,15 +249,17 @@ jobs:
239
249
- name : get nodes
240
250
run : kubectl get nodes
241
251
- name : Download nightly ad server image
242
- uses : ishworkh/docker -image-artifact-download@v1
252
+ uses : ishworkh/container -image-artifact-download@v1.0.0
243
253
with :
244
254
image : " samba-ad-server:${{ matrix.os }}-nightly"
255
+ container_engine : ${{ env.CONTAINER_CMD }}
245
256
- name : import nightly ad server image
246
257
run : k3d image import samba-ad-server:${{ matrix.os }}-nightly
247
258
- name : Download nightly file server image
248
- uses : ishworkh/docker -image-artifact-download@v1
259
+ uses : ishworkh/container -image-artifact-download@v1.0.0
249
260
with :
250
261
image : " samba-server:${{ matrix.os }}-nightly"
262
+ container_engine : ${{ env.CONTAINER_CMD }}
251
263
- name : import nightly file server image
252
264
run : k3d image import samba-server:${{ matrix.os }}-nightly
253
265
- name : run the ad-dc deployment test
0 commit comments