Docker Hub Automated Build - Tagging

前端 未结 7 1713
逝去的感伤
逝去的感伤 2020-12-24 01:15

When specifying an Automated Build on Docker Hub, I can set some settings (Type (\'Branch\' or \'Tag\'), Name, Dockerfile Location and

相关标签:
7条回答
  • 2020-12-24 02:03

    For the new Docker Hub Automated Build Anton Drukh's excellent answer can be achieved with a single rule

    Source Type: Tag

    Source: /^v([0-9.])\.([0-9.])\.([0-9.])$/

    Docker Tag: release-{\1},release-{\1}.{\2},release-{\1}.{\2}.{\3},latest

    Note that this is slightly different from Anton's answer as I am building latest from tag rather than master commit.

    0 讨论(0)
提交回复
热议问题