-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
469 lines (395 loc) · 15.7 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
REGISTRY=ghcr.io/
NAME_PHP55 = typo3gmbh/php55
MAJOR_PHP55=4
MINOR_PHP55=2
PATCHLEVEL_PHP55=0
NAME_PHP56 = typo3gmbh/php56
MAJOR_PHP56=4
MINOR_PHP56=2
PATCHLEVEL_PHP56=0
NAME_PHP70 = typo3gmbh/php70
MAJOR_PHP70=4
MINOR_PHP70=2
PATCHLEVEL_PHP70=1
NAME_PHP71 = typo3gmbh/php71
MAJOR_PHP71=4
MINOR_PHP71=2
PATCHLEVEL_PHP71=0
NAME_PHP72 = typo3gmbh/php72
MAJOR_PHP72=5
MINOR_PHP72=0
PATCHLEVEL_PHP72=0
NAME_PHP73 = typo3gmbh/php73
MAJOR_PHP73=5
MINOR_PHP73=0
PATCHLEVEL_PHP73=1
NAME_PHP74 = typo3gmbh/php74
MAJOR_PHP74=5
MINOR_PHP74=0
PATCHLEVEL_PHP74=4
NAME_PHP80 = typo3gmbh/php80
MAJOR_PHP80=5
MINOR_PHP80=0
PATCHLEVEL_PHP80=1
NAME_JS = typo3gmbh/js
MAJOR_JS=3
MINOR_JS=1
PATCHLEVEL_JS=1
FULLVERSION_PHP55=$(MAJOR_PHP55).$(MINOR_PHP55).$(PATCHLEVEL_PHP55)
SHORTVERSION_PHP55=$(MAJOR_PHP55).$(MINOR_PHP55)
FULLVERSION_PHP56=$(MAJOR_PHP56).$(MINOR_PHP56).$(PATCHLEVEL_PHP56)
SHORTVERSION_PHP56=$(MAJOR_PHP56).$(MINOR_PHP56)
FULLVERSION_PHP70=$(MAJOR_PHP70).$(MINOR_PHP70).$(PATCHLEVEL_PHP70)
SHORTVERSION_PHP70=$(MAJOR_PHP70).$(MINOR_PHP70)
FULLVERSION_PHP71=$(MAJOR_PHP71).$(MINOR_PHP71).$(PATCHLEVEL_PHP71)
SHORTVERSION_PHP71=$(MAJOR_PHP71).$(MINOR_PHP71)
FULLVERSION_PHP72=$(MAJOR_PHP72).$(MINOR_PHP72).$(PATCHLEVEL_PHP72)
SHORTVERSION_PHP72=$(MAJOR_PHP72).$(MINOR_PHP72)
FULLVERSION_PHP73=$(MAJOR_PHP73).$(MINOR_PHP73).$(PATCHLEVEL_PHP73)
SHORTVERSION_PHP73=$(MAJOR_PHP73).$(MINOR_PHP73)
FULLVERSION_PHP74=$(MAJOR_PHP74).$(MINOR_PHP74).$(PATCHLEVEL_PHP74)
SHORTVERSION_PHP74=$(MAJOR_PHP74).$(MINOR_PHP74)
FULLVERSION_PHP80=$(MAJOR_PHP80).$(MINOR_PHP80).$(PATCHLEVEL_PHP80)
SHORTVERSION_PHP80=$(MAJOR_PHP80).$(MINOR_PHP80)
FULLVERSION_JS=$(MAJOR_JS).$(MINOR_JS).$(PATCHLEVEL_JS)
SHORTVERSION_JS=$(MAJOR_JS).$(MINOR_JS)
.PHONY: \
all \
build \
build_php55 \
build_php56 \
build_php70 \
build_php71 \
build_php72 \
build_php73 \
build_php74 \
build_php80 \
build_js \
release \
release_php55 \
release_php56 \
release_php70 \
release_php71 \
release_php72 \
release_php73 \
release_php74 \
release_php80 \
release_js \
clean \
clean_php55 \
clean_php56 \
clean_php70 \
clean_php71 \
clean_php72 \
clean_php73 \
clean_php74 \
clean_php80 \
clean_js \
clean_images \
clean_images_php55 \
clean_images_php56 \
clean_images_php70 \
clean_images_php71 \
clean_images_php72 \
clean_images_php73 \
clean_images_php74 \
clean_images_php80 \
clean_images_js
all: \
build
build: \
build_php \
build_js
build_php: \
build_php55 \
build_php56 \
build_php70 \
build_php71 \
build_php72 \
build_php73 \
build_php74 \
build_php80
release: \
release_php \
release_js
release_php: \
release_php55 \
release_php56 \
release_php70 \
release_php71 \
release_php72 \
release_php73 \
release_php74 \
release_php80
clean: \
clean_php55 \
clean_php56 \
clean_php70 \
clean_php71 \
clean_php72 \
clean_php73 \
clean_php74 \
clean_php80 \
clean_js
clean_images: \
clean_images_php55 \
clean_images_php56 \
clean_images_php70 \
clean_images_php71 \
clean_images_php72 \
clean_images_php73 \
clean_images_php74 \
clean_images_php80 \
clean_js
build_php55:
rm -rf build_php55
cp -pR php55 build_php55
docker build -t $(NAME_PHP55):$(FULLVERSION_PHP55) build_php55
docker tag $(NAME_PHP55):$(FULLVERSION_PHP55) $(NAME_PHP55):$(SHORTVERSION_PHP55)
docker tag $(NAME_PHP55):$(FULLVERSION_PHP55) $(REGISTRY)$(NAME_PHP55):$(SHORTVERSION_PHP55)
docker tag $(NAME_PHP55):$(FULLVERSION_PHP55) $(REGISTRY)$(NAME_PHP55):$(FULLVERSION_PHP55)
release_php55:
@if ! docker images $(NAME_PHP55) | awk '{ print $$2 }' | grep -q -F $(FULLVERSION_PHP55); then \
echo "$(NAME_PHP55) version $(FULLVERSION_PHP55) is not yet built. Please run 'make build'"; false; \
fi
docker tag $(NAME_PHP55):$(FULLVERSION_PHP55) $(NAME_PHP55):latest
docker tag $(NAME_PHP55):$(FULLVERSION_PHP55) $(REGISTRY)$(NAME_PHP55):latest
docker push $(NAME_PHP55):latest
docker push $(NAME_PHP55):$(FULLVERSION_PHP55)
docker push $(NAME_PHP55):$(SHORTVERSION_PHP55)
docker push $(REGISTRY)$(NAME_PHP55):latest
docker push $(REGISTRY)$(NAME_PHP55):$(FULLVERSION_PHP55)
docker push $(REGISTRY)$(NAME_PHP55):$(SHORTVERSION_PHP55)
clean_php55:
rm -rf build_php55
clean_images_php55:
docker rmi $(NAME_PHP55):latest || true
docker rmi $(NAME_PHP55):$(SHORTVERSION_PHP55) || true
docker rmi $(NAME_PHP55):$(FULLVERSION_PHP55) || true
docker rmi $(REGISTRY)$(NAME_PHP55):latest || true
docker rmi $(REGISTRY)$(NAME_PHP55):$(SHORTVERSION_PHP55) || true
docker rmi $(REGISTRY)$(NAME_PHP55):$(FULLVERSION_PHP55) || true
build_php56:
rm -rf build_php56
cp -pR php56 build_php56
docker build -t $(NAME_PHP56):$(FULLVERSION_PHP56) build_php56
docker tag $(NAME_PHP56):$(FULLVERSION_PHP56) $(NAME_PHP56):$(SHORTVERSION_PHP56)
docker tag $(NAME_PHP56):$(FULLVERSION_PHP56) $(REGISTRY)$(NAME_PHP56):$(SHORTVERSION_PHP56)
docker tag $(NAME_PHP56):$(FULLVERSION_PHP56) $(REGISTRY)$(NAME_PHP56):$(FULLVERSION_PHP56)
release_php56:
@if ! docker images $(NAME_PHP56) | awk '{ print $$2 }' | grep -q -F $(FULLVERSION_PHP56); then \
echo "$(NAME_PHP56) version $(FULLVERSION_PHP56) is not yet built. Please run 'make build'"; false; \
fi
docker tag $(NAME_PHP56):$(FULLVERSION_PHP56) $(NAME_PHP56):latest
docker tag $(NAME_PHP56):$(FULLVERSION_PHP56) $(REGISTRY)$(NAME_PHP56):latest
docker push $(NAME_PHP56):latest
docker push $(NAME_PHP56):$(FULLVERSION_PHP56)
docker push $(NAME_PHP56):$(SHORTVERSION_PHP56)
docker push $(REGISTRY)$(NAME_PHP56):latest
docker push $(REGISTRY)$(NAME_PHP56):$(FULLVERSION_PHP56)
docker push $(REGISTRY)$(NAME_PHP56):$(SHORTVERSION_PHP56)
clean_php56:
rm -rf build_php56
clean_images_php56:
docker rmi $(NAME_PHP56):latest || true
docker rmi $(NAME_PHP56):$(SHORTVERSION_PHP56) || true
docker rmi $(NAME_PHP56):$(FULLVERSION_PHP56) || true
docker rmi $(REGISTRY)$(NAME_PHP56):latest || true
docker rmi $(REGISTRY)$(NAME_PHP56):$(SHORTVERSION_PHP56) || true
docker rmi $(REGISTRY)$(NAME_PHP56):$(FULLVERSION_PHP56) || true
build_php70:
rm -rf build_php70
cp -pR php70 build_php70
docker build -t $(NAME_PHP70):$(FULLVERSION_PHP70) build_php70
docker tag $(NAME_PHP70):$(FULLVERSION_PHP70) $(NAME_PHP70):$(SHORTVERSION_PHP70)
docker tag $(NAME_PHP70):$(FULLVERSION_PHP70) $(REGISTRY)$(NAME_PHP70):$(SHORTVERSION_PHP70)
docker tag $(NAME_PHP70):$(FULLVERSION_PHP70) $(REGISTRY)$(NAME_PHP70):$(FULLVERSION_PHP70)
release_php70:
@if ! docker images $(NAME_PHP70) | awk '{ print $$2 }' | grep -q -F $(FULLVERSION_PHP70); then \
echo "$(NAME_PHP70) version $(FULLVERSION_PHP70) is not yet built. Please run 'make build'"; false; \
fi
docker tag $(NAME_PHP70):$(FULLVERSION_PHP70) $(NAME_PHP70):latest
docker tag $(NAME_PHP70):$(FULLVERSION_PHP70) $(REGISTRY)$(NAME_PHP70):latest
docker push $(NAME_PHP70):latest
docker push $(NAME_PHP70):$(FULLVERSION_PHP70)
docker push $(NAME_PHP70):$(SHORTVERSION_PHP70)
docker push $(REGISTRY)$(NAME_PHP70):latest
docker push $(REGISTRY)$(NAME_PHP70):$(FULLVERSION_PHP70)
docker push $(REGISTRY)$(NAME_PHP70):$(SHORTVERSION_PHP70)
clean_php70:
rm -rf build_php70
clean_images_php70:
docker rmi $(NAME_PHP70):latest || true
docker rmi $(NAME_PHP70):$(SHORTVERSION_PHP70) || true
docker rmi $(NAME_PHP70):$(FULLVERSION_PHP70) || true
docker rmi $(REGISTRY)$(NAME_PHP70):latest || true
docker rmi $(REGISTRY)$(NAME_PHP70):$(SHORTVERSION_PHP70) || true
docker rmi $(REGISTRY)$(NAME_PHP70):$(FULLVERSION_PHP70) || true
build_php71:
rm -rf build_php71
cp -pR php71 build_php71
docker build -t $(NAME_PHP71):$(FULLVERSION_PHP71) build_php71
docker tag $(NAME_PHP71):$(FULLVERSION_PHP71) $(NAME_PHP71):$(SHORTVERSION_PHP71)
docker tag $(NAME_PHP71):$(FULLVERSION_PHP71) $(REGISTRY)$(NAME_PHP71):$(SHORTVERSION_PHP71)
docker tag $(NAME_PHP71):$(FULLVERSION_PHP71) $(REGISTRY)$(NAME_PHP71):$(FULLVERSION_PHP71)
release_php71:
@if ! docker images $(NAME_PHP71) | awk '{ print $$2 }' | grep -q -F $(FULLVERSION_PHP71); then \
echo "$(NAME_PHP71) version $(FULLVERSION_PHP71) is not yet built. Please run 'make build'"; false; \
fi
docker tag $(NAME_PHP71):$(FULLVERSION_PHP71) $(NAME_PHP71):latest
docker tag $(NAME_PHP71):$(FULLVERSION_PHP71) $(REGISTRY)$(NAME_PHP71):latest
docker push $(NAME_PHP71):latest
docker push $(NAME_PHP71):$(FULLVERSION_PHP71)
docker push $(NAME_PHP71):$(SHORTVERSION_PHP71)
docker push $(REGISTRY)$(NAME_PHP71):latest
docker push $(REGISTRY)$(NAME_PHP71):$(FULLVERSION_PHP71)
docker push $(REGISTRY)$(NAME_PHP71):$(SHORTVERSION_PHP71)
clean_php71:
rm -rf build_php71
clean_images_php71:
docker rmi $(NAME_PHP71):latest || true
docker rmi $(NAME_PHP71):$(SHORTVERSION_PHP71) || true
docker rmi $(NAME_PHP71):$(FULLVERSION_PHP71) || true
docker rmi $(REGISTRY)$(NAME_PHP71):latest || true
docker rmi $(REGISTRY)$(NAME_PHP71):$(SHORTVERSION_PHP71) || true
docker rmi $(REGISTRY)$(NAME_PHP71):$(FULLVERSION_PHP71) || true
build_php72:
rm -rf build_php72
cp -pR php72 build_php72
docker build -t $(NAME_PHP72):$(FULLVERSION_PHP72) build_php72
docker tag $(NAME_PHP72):$(FULLVERSION_PHP72) $(NAME_PHP72):$(SHORTVERSION_PHP72)
docker tag $(NAME_PHP72):$(FULLVERSION_PHP72) $(REGISTRY)$(NAME_PHP72):$(SHORTVERSION_PHP72)
docker tag $(NAME_PHP72):$(FULLVERSION_PHP72) $(REGISTRY)$(NAME_PHP72):$(FULLVERSION_PHP72)
release_php72:
@if ! docker images $(NAME_PHP72) | awk '{ print $$2 }' | grep -q -F $(FULLVERSION_PHP72); then \
echo "$(NAME_PHP72) version $(FULLVERSION_PHP72) is not yet built. Please run 'make build'"; false; \
fi
docker tag $(NAME_PHP72):$(FULLVERSION_PHP72) $(NAME_PHP72):latest
docker tag $(NAME_PHP72):$(FULLVERSION_PHP72) $(REGISTRY)$(NAME_PHP72):latest
docker push $(NAME_PHP72):latest
docker push $(NAME_PHP72):$(FULLVERSION_PHP72)
docker push $(NAME_PHP72):$(SHORTVERSION_PHP72)
docker push $(REGISTRY)$(NAME_PHP72):latest
docker push $(REGISTRY)$(NAME_PHP72):$(FULLVERSION_PHP72)
docker push $(REGISTRY)$(NAME_PHP72):$(SHORTVERSION_PHP72)
clean_php72:
rm -rf build_php72
clean_images_php72:
docker rmi $(NAME_PHP72):latest || true
docker rmi $(NAME_PHP72):$(SHORTVERSION_PHP72) || true
docker rmi $(NAME_PHP72):$(FULLVERSION_PHP72) || true
docker rmi $(REGISTRY)$(NAME_PHP72):latest || true
docker rmi $(REGISTRY)$(NAME_PHP72):$(SHORTVERSION_PHP72) || true
docker rmi $(REGISTRY)$(NAME_PHP72):$(FULLVERSION_PHP72) || true
build_php73:
rm -rf build_php73
cp -pR php73 build_php73
docker build -t $(NAME_PHP73):$(FULLVERSION_PHP73) build_php73
docker tag $(NAME_PHP73):$(FULLVERSION_PHP73) $(NAME_PHP73):$(SHORTVERSION_PHP73)
docker tag $(NAME_PHP73):$(FULLVERSION_PHP73) $(REGISTRY)$(NAME_PHP73):$(SHORTVERSION_PHP73)
docker tag $(NAME_PHP73):$(FULLVERSION_PHP73) $(REGISTRY)$(NAME_PHP73):$(FULLVERSION_PHP73)
release_php73:
@if ! docker images $(NAME_PHP73) | awk '{ print $$2 }' | grep -q -F $(FULLVERSION_PHP73); then \
echo "$(NAME_PHP73) version $(FULLVERSION_PHP73) is not yet built. Please run 'make build'"; false; \
fi
docker tag $(NAME_PHP73):$(FULLVERSION_PHP73) $(NAME_PHP73):latest
docker tag $(NAME_PHP73):$(FULLVERSION_PHP73) $(REGISTRY)$(NAME_PHP73):latest
docker push $(NAME_PHP73):latest
docker push $(NAME_PHP73):$(FULLVERSION_PHP73)
docker push $(NAME_PHP73):$(SHORTVERSION_PHP73)
docker push $(REGISTRY)$(NAME_PHP73):latest
docker push $(REGISTRY)$(NAME_PHP73):$(FULLVERSION_PHP73)
docker push $(REGISTRY)$(NAME_PHP73):$(SHORTVERSION_PHP73)
clean_php73:
rm -rf build_php73
clean_images_php73:
docker rmi $(NAME_PHP73):latest || true
docker rmi $(NAME_PHP73):$(SHORTVERSION_PHP73) || true
docker rmi $(NAME_PHP73):$(FULLVERSION_PHP73) || true
docker rmi $(REGISTRY)$(NAME_PHP73):latest || true
docker rmi $(REGISTRY)$(NAME_PHP73):$(SHORTVERSION_PHP73) || true
docker rmi $(REGISTRY)$(NAME_PHP73):$(FULLVERSION_PHP73) || true
build_php74:
rm -rf build_php74
cp -pR php74 build_php74
docker build -t $(NAME_PHP74):$(FULLVERSION_PHP74) build_php74
docker tag $(NAME_PHP74):$(FULLVERSION_PHP74) $(NAME_PHP74):$(SHORTVERSION_PHP74)
docker tag $(NAME_PHP74):$(FULLVERSION_PHP74) $(REGISTRY)$(NAME_PHP74):$(SHORTVERSION_PHP74)
docker tag $(NAME_PHP74):$(FULLVERSION_PHP74) $(REGISTRY)$(NAME_PHP74):$(FULLVERSION_PHP74)
release_php74:
@if ! docker images $(NAME_PHP74) | awk '{ print $$2 }' | grep -q -F $(FULLVERSION_PHP74); then \
echo "$(NAME_PHP74) version $(FULLVERSION_PHP74) is not yet built. Please run 'make build'"; false; \
fi
docker tag $(NAME_PHP74):$(FULLVERSION_PHP74) $(NAME_PHP74):latest
docker tag $(NAME_PHP74):$(FULLVERSION_PHP74) $(REGISTRY)$(NAME_PHP74):latest
docker push $(NAME_PHP74):latest
docker push $(NAME_PHP74):$(FULLVERSION_PHP74)
docker push $(NAME_PHP74):$(SHORTVERSION_PHP74)
docker push $(REGISTRY)$(NAME_PHP74):latest
docker push $(REGISTRY)$(NAME_PHP74):$(FULLVERSION_PHP74)
docker push $(REGISTRY)$(NAME_PHP74):$(SHORTVERSION_PHP74)
clean_php74:
rm -rf build_php74
clean_images_php74:
docker rmi $(NAME_PHP74):latest || true
docker rmi $(NAME_PHP74):$(SHORTVERSION_PHP74) || true
docker rmi $(NAME_PHP74):$(FULLVERSION_PHP74) || true
docker rmi $(REGISTRY)$(NAME_PHP74):latest || true
docker rmi $(REGISTRY)$(NAME_PHP74):$(SHORTVERSION_PHP74) || true
docker rmi $(REGISTRY)$(NAME_PHP74):$(FULLVERSION_PHP74) || true
build_php80:
rm -rf build_php80
cp -pR php80 build_php80
docker build -t $(NAME_PHP80):$(FULLVERSION_PHP80) build_php80
docker tag $(NAME_PHP80):$(FULLVERSION_PHP80) $(NAME_PHP80):$(SHORTVERSION_PHP80)
docker tag $(NAME_PHP80):$(FULLVERSION_PHP80) $(REGISTRY)$(NAME_PHP80):$(SHORTVERSION_PHP80)
docker tag $(NAME_PHP80):$(FULLVERSION_PHP80) $(REGISTRY)$(NAME_PHP80):$(FULLVERSION_PHP80)
release_php80:
@if ! docker images $(NAME_PHP80) | awk '{ print $$2 }' | grep -q -F $(FULLVERSION_PHP80); then \
echo "$(NAME_PHP80) version $(FULLVERSION_PHP80) is not yet built. Please run 'make build'"; false; \
fi
docker tag $(NAME_PHP80):$(FULLVERSION_PHP80) $(NAME_PHP80):latest
docker tag $(NAME_PHP80):$(FULLVERSION_PHP80) $(REGISTRY)$(NAME_PHP80):latest
docker push $(NAME_PHP80):latest
docker push $(NAME_PHP80):$(FULLVERSION_PHP80)
docker push $(NAME_PHP80):$(SHORTVERSION_PHP80)
docker push $(REGISTRY)$(NAME_PHP80):latest
docker push $(REGISTRY)$(NAME_PHP80):$(FULLVERSION_PHP80)
docker push $(REGISTRY)$(NAME_PHP80):$(SHORTVERSION_PHP80)
clean_php80:
rm -rf build_php80
clean_images_php80:
docker rmi $(NAME_PHP80):latest || true
docker rmi $(NAME_PHP80):$(SHORTVERSION_PHP80) || true
docker rmi $(NAME_PHP80):$(FULLVERSION_PHP80) || true
docker rmi $(REGISTRY)$(NAME_PHP80):latest || true
docker rmi $(REGISTRY)$(NAME_PHP80):$(SHORTVERSION_PHP80) || true
docker rmi $(REGISTRY)$(NAME_PHP80):$(FULLVERSION_PHP80) || true
build_js:
rm -rf build_js
cp -pR js build_js
docker build -t $(NAME_JS):$(FULLVERSION_JS) build_js
release_js:
@if ! docker images $(NAME_JS) | awk '{ print $$2 }' | grep -q -F $(FULLVERSION_JS); then \
echo "$(NAME_JS) version $(FULLVERSION_JS) is not yet built. Please run 'make build'"; false; \
fi
docker tag $(NAME_JS):$(FULLVERSION_JS) $(NAME_JS):$(SHORTVERSION_JS)
docker tag $(NAME_JS):$(FULLVERSION_JS) $(NAME_JS):latest
docker tag $(NAME_JS):$(FULLVERSION_JS) $(REGISTRY)$(NAME_JS):$(SHORTVERSION_JS)
docker tag $(NAME_JS):$(FULLVERSION_JS) $(REGISTRY)$(NAME_JS):$(FULLVERSION_JS)
docker tag $(NAME_JS):$(FULLVERSION_JS) $(REGISTRY)$(NAME_JS):latest
docker push $(NAME_JS):latest
docker push $(NAME_JS):$(FULLVERSION_JS)
docker push $(NAME_JS):$(SHORTVERSION_JS)
docker push $(REGISTRY)$(NAME_JS):latest
docker push $(REGISTRY)$(NAME_JS):$(FULLVERSION_JS)
docker push $(REGISTRY)$(NAME_JS):$(SHORTVERSION_JS)
clean_js:
rm -rf build_js
clean_images_js:
docker rmi $(NAME_JS):latest || true
docker rmi $(NAME_JS):$(SHORTVERSION_JS) || true
docker rmi $(NAME_JS):$(FULLVERSION_JS) || true
docker rmi $(REGISTRY)$(NAME_JS):latest || true
docker rmi $(REGISTRY)$(NAME_JS):$(SHORTVERSION_JS) || true
docker rmi $(REGISTRY)$(NAME_JS):$(FULLVERSION_JS) || true