@@ -217,7 +217,7 @@ jobs:
217217 CONTAINER_TAG="$VERSION_PREFIX"-gpu-py3
218218 docker tag latest_py3_gpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
219219 docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
220-
220+
221221 CONTAINER_TAG="$VERSION_PREFIX"-py3-gpu
222222 docker tag latest_py3_gpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
223223 docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
@@ -411,7 +411,7 @@ jobs:
411411 CONTAINER_TAG="$TL_VERSION"-cpu-py3
412412 docker tag latest_py3_cpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
413413 docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
414-
414+
415415 CONTAINER_TAG="$TL_VERSION"-py3-cpu
416416 docker tag latest_py3_cpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
417417 docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
@@ -461,11 +461,26 @@ jobs:
461461 CONTAINER_TAG="$TL_VERSION"-gpu-py3
462462 docker tag latest_py3_gpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
463463 docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
464-
464+
465465 CONTAINER_TAG="$TL_VERSION"-py3-gpu
466466 docker tag latest_py3_gpu:latest tensorlayer/tensorlayer:"$CONTAINER_TAG"
467467 docker push tensorlayer/tensorlayer:"$CONTAINER_TAG"
468468
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+
469484# ##################################################################################
470485# ##################################################################################
471486# ##################################################################################
@@ -546,12 +561,21 @@ workflows:
546561 # ##################################################################################
547562 # TAGS BUILDS with TensorLayer installed from PyPI #
548563 # ##################################################################################
549-
564+
565+ - init_tag_build :
566+ filters :
567+ tags :
568+ only : /\d+\.\d+(\.\d+)?(\S*)?$/
569+ branches :
570+ ignore : /.*/
571+
550572 - hold :
551573 type : approval
574+ requires :
575+ - init_tag_build
552576 filters :
553577 tags :
554- only : /.* /
578+ only : /\d+\.\d+(\.\d+)?(\S*)?$ /
555579 branches :
556580 ignore : /.*/
557581
@@ -560,7 +584,7 @@ workflows:
560584 - hold
561585 filters :
562586 tags :
563- only : /.* /
587+ only : /\d+\.\d+(\.\d+)?(\S*)?$ /
564588 branches :
565589 ignore : /.*/
566590
@@ -569,7 +593,7 @@ workflows:
569593 - hold
570594 filters :
571595 tags :
572- only : /.* /
596+ only : /\d+\.\d+(\.\d+)?(\S*)?$ /
573597 branches :
574598 ignore : /.*/
575599
@@ -578,7 +602,7 @@ workflows:
578602 - hold
579603 filters :
580604 tags :
581- only : /.* /
605+ only : /\d+\.\d+(\.\d+)?(\S*)?$ /
582606 branches :
583607 ignore : /.*/
584608
@@ -587,6 +611,6 @@ workflows:
587611 - hold
588612 filters :
589613 tags :
590- only : /.* /
614+ only : /\d+\.\d+(\.\d+)?(\S*)?$ /
591615 branches :
592616 ignore : /.*/
0 commit comments