mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-02 03:37:46 +08:00
[FIX] fix RUNNERIMAGENAME set bug
This commit is contained in:
parent
aef25533e4
commit
b7850e5706
@ -31,10 +31,10 @@ func init() {
|
||||
REGISTRYPASS = os.Getenv("BUILD_IMAGE_REPOSTORY_PASS")
|
||||
}
|
||||
if os.Getenv("RUNNER_IMAGE_NAME") != "" {
|
||||
REGISTRYPASS = os.Getenv("RUNNER_IMAGE_NAME")
|
||||
RUNNERIMAGENAME = os.Getenv("RUNNER_IMAGE_NAME")
|
||||
}
|
||||
if os.Getenv("BUILDER_IMAGE_NAME") != "" {
|
||||
REGISTRYPASS = os.Getenv("BUILDER_IMAGE_NAME")
|
||||
BUILDERIMAGENAME = os.Getenv("BUILDER_IMAGE_NAME")
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user