Merge pull request #23374 from karalabe/fix-docker-tag

build: fix docker tag to include `v` prefix in version string
pull/23384/head
Péter Szilágyi 3 years ago committed by GitHub
commit deff5056fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      build/ci.go

@ -492,7 +492,7 @@ func doDocker(cmdline []string) {
case env.Branch == "master":
tags = []string{"latest"}
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 *image {

Loading…
Cancel
Save