Commit b9e44b9d by 据说甜蜜呢

修改方法CI

parent 42967a3c
Pipeline #4115 passed with stage
in 16 seconds
...@@ -95,8 +95,13 @@ function CI() ...@@ -95,8 +95,13 @@ function CI()
{ {
declare publishFile=$2 declare publishFile=$2
declare publishOutputDir=s2 declare publishOutputDir=s2
ToLower $1 imagename
GetImageUserName registryUserName GetImageUserName registryUserName
# repository name must be lowercase
ToLower $1 RegistryHost
ToLower $1 registryUserName
ToLower $1 imagename
declare imagefullname="${RegistryHost}/${registryUserName}/${imagename}:${version}" declare imagefullname="${RegistryHost}/${registryUserName}/${imagename}:${version}"
echo "" echo ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment