@@ -71,12 +71,12 @@ concurrency:
71
71
jobs :
72
72
aarch64-foundation :
73
73
uses : ./.github/workflows/docker-build-test-upload.yml
74
- if : github.repository == 'jupyter/docker-stacks'
75
74
with :
76
75
parentImage : " "
77
76
image : docker-stacks-foundation
78
77
platform : aarch64
79
78
runsOn : ARM64
79
+ if : github.repository == 'jupyter/docker-stacks'
80
80
81
81
x86_64-foundation :
82
82
uses : ./.github/workflows/docker-build-test-upload.yml
@@ -87,152 +87,168 @@ jobs:
87
87
runsOn : ubuntu-latest
88
88
89
89
aarch64-base :
90
- needs : [aarch64-foundation]
91
90
uses : ./.github/workflows/docker-build-test-upload.yml
92
- if : github.repository == 'jupyter/docker-stacks'
93
91
with :
94
92
parentImage : docker-stacks-foundation
95
93
image : base-notebook
96
94
platform : aarch64
97
95
runsOn : ARM64
96
+ needs : [aarch64-foundation]
97
+ if : github.repository == 'jupyter/docker-stacks'
98
98
99
99
x86_64-base :
100
- needs : [x86_64-foundation]
101
100
uses : ./.github/workflows/docker-build-test-upload.yml
102
101
with :
103
102
parentImage : docker-stacks-foundation
104
103
image : base-notebook
105
104
platform : x86_64
106
105
runsOn : ubuntu-latest
106
+ needs : [x86_64-foundation]
107
107
108
108
aarch64-minimal :
109
- needs : [aarch64-base]
110
109
uses : ./.github/workflows/docker-build-test-upload.yml
111
- if : github.repository == 'jupyter/docker-stacks'
112
110
with :
113
111
parentImage : base-notebook
114
112
image : minimal-notebook
115
113
platform : aarch64
116
114
runsOn : ARM64
115
+ needs : [aarch64-base]
116
+ if : github.repository == 'jupyter/docker-stacks'
117
117
118
118
x86_64-minimal :
119
- needs : [x86_64-base]
120
119
uses : ./.github/workflows/docker-build-test-upload.yml
121
120
with :
122
121
parentImage : base-notebook
123
122
image : minimal-notebook
124
123
platform : x86_64
125
124
runsOn : ubuntu-latest
125
+ needs : [x86_64-base]
126
126
127
127
aarch64-scipy :
128
- needs : [aarch64-minimal]
129
128
uses : ./.github/workflows/docker-build-test-upload.yml
130
- if : github.repository == 'jupyter/docker-stacks'
131
129
with :
132
130
parentImage : minimal-notebook
133
131
image : scipy-notebook
134
132
platform : aarch64
135
133
runsOn : ARM64
134
+ needs : [aarch64-minimal]
135
+ if : github.repository == 'jupyter/docker-stacks'
136
136
137
137
x86_64-scipy :
138
- needs : [x86_64-minimal]
139
138
uses : ./.github/workflows/docker-build-test-upload.yml
140
139
with :
141
140
parentImage : minimal-notebook
142
141
image : scipy-notebook
143
142
platform : x86_64
144
143
runsOn : ubuntu-latest
144
+ needs : [x86_64-minimal]
145
145
146
146
aarch64-r :
147
- needs : [aarch64-minimal]
148
147
uses : ./.github/workflows/docker-build-test-upload.yml
149
- if : github.repository == 'jupyter/docker-stacks'
150
148
with :
151
149
parentImage : minimal-notebook
152
150
image : r-notebook
153
151
platform : aarch64
154
152
runsOn : ARM64
153
+ needs : [aarch64-minimal]
154
+ if : github.repository == 'jupyter/docker-stacks'
155
155
156
156
x86_64-r :
157
- needs : [x86_64-minimal]
158
157
uses : ./.github/workflows/docker-build-test-upload.yml
159
158
with :
160
159
parentImage : minimal-notebook
161
160
image : r-notebook
162
161
platform : x86_64
163
162
runsOn : ubuntu-latest
163
+ needs : [x86_64-minimal]
164
164
165
165
x86_64-tensorflow :
166
- needs : [x86_64-scipy]
167
166
uses : ./.github/workflows/docker-build-test-upload.yml
168
167
with :
169
168
parentImage : scipy-notebook
170
169
image : tensorflow-notebook
171
170
platform : x86_64
172
171
runsOn : ubuntu-latest
172
+ needs : [x86_64-scipy]
173
173
174
174
aarch64-datascience :
175
- needs : [aarch64-scipy]
176
175
uses : ./.github/workflows/docker-build-test-upload.yml
177
- if : github.repository == 'jupyter/docker-stacks'
178
176
with :
179
177
parentImage : scipy-notebook
180
178
image : datascience-notebook
181
179
platform : aarch64
182
180
runsOn : ARM64
181
+ needs : [aarch64-scipy]
182
+ if : github.repository == 'jupyter/docker-stacks'
183
183
184
184
x86_64-datascience :
185
- needs : [x86_64-scipy]
186
185
uses : ./.github/workflows/docker-build-test-upload.yml
187
186
with :
188
187
parentImage : scipy-notebook
189
188
image : datascience-notebook
190
189
platform : x86_64
191
190
runsOn : ubuntu-latest
191
+ needs : [x86_64-scipy]
192
192
193
193
aarch64-pyspark :
194
- needs : [aarch64-scipy]
195
194
uses : ./.github/workflows/docker-build-test-upload.yml
196
- if : github.repository == 'jupyter/docker-stacks'
197
195
with :
198
196
parentImage : scipy-notebook
199
197
image : pyspark-notebook
200
198
platform : aarch64
201
199
runsOn : ARM64
200
+ needs : [aarch64-scipy]
201
+ if : github.repository == 'jupyter/docker-stacks'
202
202
203
203
x86_64-pyspark :
204
- needs : [x86_64-scipy]
205
204
uses : ./.github/workflows/docker-build-test-upload.yml
206
205
with :
207
206
parentImage : scipy-notebook
208
207
image : pyspark-notebook
209
208
platform : x86_64
210
209
runsOn : ubuntu-latest
210
+ needs : [x86_64-scipy]
211
211
212
212
aarch64-all-spark :
213
- needs : [aarch64-pyspark]
214
213
uses : ./.github/workflows/docker-build-test-upload.yml
215
- if : github.repository == 'jupyter/docker-stacks'
216
214
with :
217
215
parentImage : pyspark-notebook
218
216
image : all-spark-notebook
219
217
platform : aarch64
220
218
runsOn : ARM64
219
+ needs : [aarch64-pyspark]
220
+ if : github.repository == 'jupyter/docker-stacks'
221
221
222
222
x86_64-all-spark :
223
- needs : [x86_64-pyspark]
224
223
uses : ./.github/workflows/docker-build-test-upload.yml
225
224
with :
226
225
parentImage : pyspark-notebook
227
226
image : all-spark-notebook
228
227
platform : x86_64
229
228
runsOn : ubuntu-latest
229
+ needs : [x86_64-pyspark]
230
230
231
231
aarch64-images-tag-push :
232
- if : github.repository == 'jupyter/docker-stacks'
232
+ uses : ./.github/workflows/docker-tag-manifest-push.yml
233
+ with :
234
+ platform : aarch64
235
+ image : ${{ matrix.image }}
233
236
secrets :
234
237
DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
235
238
DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
239
+ strategy :
240
+ matrix :
241
+ image :
242
+ [
243
+ docker-stacks-foundation,
244
+ base-notebook,
245
+ minimal-notebook,
246
+ scipy-notebook,
247
+ r-notebook,
248
+ datascience-notebook,
249
+ pyspark-notebook,
250
+ all-spark-notebook,
251
+ ]
236
252
needs :
237
253
[
238
254
aarch64-foundation,
@@ -244,6 +260,16 @@ jobs:
244
260
aarch64-pyspark,
245
261
aarch64-all-spark,
246
262
]
263
+ if : github.repository == 'jupyter/docker-stacks'
264
+
265
+ x86_64-images-tag-push :
266
+ uses : ./.github/workflows/docker-tag-manifest-push.yml
267
+ with :
268
+ platform : x86_64
269
+ image : ${{ matrix.image }}
270
+ secrets :
271
+ DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
272
+ DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
247
273
strategy :
248
274
matrix :
249
275
image :
@@ -253,19 +279,11 @@ jobs:
253
279
minimal-notebook,
254
280
scipy-notebook,
255
281
r-notebook,
282
+ tensorflow-notebook,
256
283
datascience-notebook,
257
284
pyspark-notebook,
258
285
all-spark-notebook,
259
286
]
260
- uses : ./.github/workflows/docker-tag-manifest-push.yml
261
- with :
262
- platform : aarch64
263
- image : ${{ matrix.image }}
264
-
265
- x86_64-images-tag-push :
266
- secrets :
267
- DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
268
- DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
269
287
needs :
270
288
[
271
289
x86_64-foundation,
@@ -278,30 +296,14 @@ jobs:
278
296
x86_64-pyspark,
279
297
x86_64-all-spark,
280
298
]
281
- strategy :
282
- matrix :
283
- image :
284
- [
285
- docker-stacks-foundation,
286
- base-notebook,
287
- minimal-notebook,
288
- scipy-notebook,
289
- r-notebook,
290
- tensorflow-notebook,
291
- datascience-notebook,
292
- pyspark-notebook,
293
- all-spark-notebook,
294
- ]
295
- uses : ./.github/workflows/docker-tag-manifest-push.yml
296
- with :
297
- platform : x86_64
298
- image : ${{ matrix.image }}
299
299
300
300
merge-tags :
301
+ uses : ./.github/workflows/docker-merge-tags.yml
302
+ with :
303
+ image : ${{ matrix.image }}
301
304
secrets :
302
305
DOCKERHUB_USERNAME : ${{ secrets.DOCKERHUB_USERNAME }}
303
306
DOCKERHUB_TOKEN : ${{ secrets.DOCKERHUB_TOKEN }}
304
- needs : [aarch64-images-tag-push, x86_64-images-tag-push]
305
307
strategy :
306
308
matrix :
307
309
image :
@@ -316,14 +318,12 @@ jobs:
316
318
pyspark-notebook,
317
319
all-spark-notebook,
318
320
]
319
- uses : ./.github/workflows/docker-merge-tags.yml
320
- with :
321
- image : ${{ matrix.image }}
321
+ needs : [aarch64-images-tag-push, x86_64-images-tag-push]
322
322
if : github.repository == 'jupyter/docker-stacks'
323
323
324
324
wiki-update :
325
- permissions :
326
- contents : write
327
- needs : [aarch64-images-tag-push, x86_64-images-tag-push]
328
325
uses : ./.github/workflows/docker-wiki-update.yml
326
+ needs : [aarch64-images-tag-push, x86_64-images-tag-push]
329
327
if : github.repository == 'jupyter/docker-stacks'
328
+ permissions :
329
+ contents : write
0 commit comments