@@ -217,7 +217,7 @@ jobs:
217
217
CONTAINER_TAG="$VERSION_PREFIX"-gpu-py3
218
218
docker tag latest_py3_gpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
219
219
docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
220
-
220
+
221
221
CONTAINER_TAG="$VERSION_PREFIX"-py3-gpu
222
222
docker tag latest_py3_gpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
223
223
docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
@@ -411,7 +411,7 @@ jobs:
411
411
CONTAINER_TAG="$TL_VERSION"-cpu-py3
412
412
docker tag latest_py3_cpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
413
413
docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
414
-
414
+
415
415
CONTAINER_TAG="$TL_VERSION"-py3-cpu
416
416
docker tag latest_py3_cpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
417
417
docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
@@ -461,11 +461,26 @@ jobs:
461
461
CONTAINER_TAG="$TL_VERSION"-gpu-py3
462
462
docker tag latest_py3_gpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
463
463
docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
464
-
464
+
465
465
CONTAINER_TAG="$TL_VERSION"-py3-gpu
466
466
docker tag latest_py3_gpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
467
467
docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
468
468
469
+ init_tag_build :
470
+ working_directory : ~/build
471
+ docker :
472
+ - image : docker:git
473
+ steps :
474
+ - checkout
475
+ - setup_remote_docker :
476
+ reusable : true
477
+ exclusive : true
478
+
479
+ - run :
480
+ name : Init Tag Deploy Build
481
+ command : |
482
+ echo "start tag workflow"
483
+
469
484
# ##################################################################################
470
485
# ##################################################################################
471
486
# ##################################################################################
@@ -546,12 +561,21 @@ workflows:
546
561
# ##################################################################################
547
562
# TAGS BUILDS with TensorLayer installed from PyPI #
548
563
# ##################################################################################
549
-
564
+
565
+ - init_tag_build :
566
+ filters :
567
+ tags :
568
+ only : /\d+\.\d+(\.\d+)?(\S*)?$/
569
+ branches :
570
+ ignore : /.*/
571
+
550
572
- hold :
551
573
type : approval
574
+ requires :
575
+ - init_tag_build
552
576
filters :
553
577
tags :
554
- only : /.* /
578
+ only : /\d+\.\d+(\.\d+)?(\S*)?$ /
555
579
branches :
556
580
ignore : /.*/
557
581
@@ -560,7 +584,7 @@ workflows:
560
584
- hold
561
585
filters :
562
586
tags :
563
- only : /.* /
587
+ only : /\d+\.\d+(\.\d+)?(\S*)?$ /
564
588
branches :
565
589
ignore : /.*/
566
590
@@ -569,7 +593,7 @@ workflows:
569
593
- hold
570
594
filters :
571
595
tags :
572
- only : /.* /
596
+ only : /\d+\.\d+(\.\d+)?(\S*)?$ /
573
597
branches :
574
598
ignore : /.*/
575
599
@@ -578,7 +602,7 @@ workflows:
578
602
- hold
579
603
filters :
580
604
tags :
581
- only : /.* /
605
+ only : /\d+\.\d+(\.\d+)?(\S*)?$ /
582
606
branches :
583
607
ignore : /.*/
584
608
@@ -587,6 +611,6 @@ workflows:
587
611
- hold
588
612
filters :
589
613
tags :
590
- only : /.* /
614
+ only : /\d+\.\d+(\.\d+)?(\S*)?$ /
591
615
branches :
592
616
ignore : /.*/
0 commit comments