Fix docker manifest push

pull/437/head
Amir Zarrinkafsh 2019-11-08 12:26:54 +11:00 committed by Clément Michaud
parent a8ce22ade7
commit e7816d7028
1 changed files with 3 additions and 3 deletions

View File

@ -149,12 +149,12 @@ func deploy(docker *Docker, tag string) {
} }
func deployManifest(docker *Docker, tag string, amd64tag string, arm32v7tag string, arm64v8tag string) { func deployManifest(docker *Docker, tag string, amd64tag string, arm32v7tag string, arm64v8tag string) {
imageWithTag := DockerImageName + ":" + tag dockerImagePrefix := DockerImageName + ":"
fmt.Println("===================================================") fmt.Println("===================================================")
fmt.Println("Docker manifest " + imageWithTag + " will be deployed on Dockerhub.") fmt.Println("Docker manifest " + dockerImagePrefix + tag + " will be deployed on Dockerhub.")
fmt.Println("===================================================") fmt.Println("===================================================")
err := docker.Manifest(imageWithTag, amd64tag, arm32v7tag, arm64v8tag) err := docker.Manifest(dockerImagePrefix+tag, dockerImagePrefix+amd64tag, dockerImagePrefix+arm32v7tag, dockerImagePrefix+arm64v8tag)
if err != nil { if err != nil {
panic(err) panic(err)