new ledo, with ecr login
This commit is contained in:
parent
46be715e9e
commit
aee0deba4a
@ -15,7 +15,7 @@ import (
|
||||
"strings"
|
||||
)
|
||||
|
||||
const DockerComposeVersion = ">= 1.28.6"
|
||||
const DockerComposeVersion = ">= 1.28.0"
|
||||
|
||||
func CheckDockerComposeVersion() {
|
||||
// cmd := exec.Command("docker-compose", "--version")
|
||||
@ -36,7 +36,7 @@ func CheckDockerComposeVersion() {
|
||||
composeSemVer, _ := semver.NewVersion(composeVersion)
|
||||
|
||||
if !verConstraint.Check(composeSemVer) {
|
||||
log.Fatal("Wrong docker-compose version, please update to 1.28.6 or higher.")
|
||||
log.Fatal("Wrong docker-compose version, please update to "+DockerComposeVersion+" or higher.")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -86,6 +86,6 @@ func (lx *LedoContext) ExecCmdSilent(cmd string, cmdArgs []string) error {
|
||||
command := exec.Command(cmd, cmdArgs...)
|
||||
command.Stdin = os.Stdin
|
||||
command.Stdout = os.Stdout
|
||||
command.Stderr = os.Stderr
|
||||
command.Stderr = nil
|
||||
return command.Run()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user