forked from cerc-io/plugeth
build: fix docker tag to include v
prefix in version string
This commit is contained in:
parent
0fbc94eabc
commit
c27bd3481e
@ -492,7 +492,7 @@ func doDocker(cmdline []string) {
|
|||||||
case env.Branch == "master":
|
case env.Branch == "master":
|
||||||
tags = []string{"latest"}
|
tags = []string{"latest"}
|
||||||
case strings.HasPrefix(env.Tag, "v1."):
|
case strings.HasPrefix(env.Tag, "v1."):
|
||||||
tags = []string{"stable", fmt.Sprintf("release-1.%d", params.VersionMinor), params.Version}
|
tags = []string{"stable", fmt.Sprintf("release-1.%d", params.VersionMinor), "v" + params.Version}
|
||||||
}
|
}
|
||||||
// If architecture specific image builds are requested, build and push them
|
// If architecture specific image builds are requested, build and push them
|
||||||
if *image {
|
if *image {
|
||||||
|
Loading…
Reference in New Issue
Block a user