strider-docker-build
strider-docker-build copied to clipboard
auto add tag:version (version+1)
增加了给tag自动累加版本号功能,以便在部署时可以更新这个新版本的镜像
累加规则: 1、获取当前已有的tags, 2、排除latest版本,找到最大的tag末位自动加一,例如:2.0 => 2.1
translation:
Added the function of automatically accumulating the version number to the tag so that the new version of the image can be updated during deployment
Accumulation rules:
- Get the currently existing tags,
- Exclude the latest version, and automatically add one to the end of the largest tag, for example: 2.0 => 2.1