Skip to content

Commit

Permalink
Update project init docker output
Browse files Browse the repository at this point in the history
  • Loading branch information
Or-Geva committed Feb 24, 2022
1 parent dce4b90 commit a1d9695
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions general/project/projectinit.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,11 +142,11 @@ func (pic *ProjectInitCommand) createBuildMessage(technologiesMap map[coreutils.
baseurl := strings.TrimLeft(pic.serverUrl, "https://")
baseurl = strings.TrimLeft(baseurl, "http://")
imageUrl := path.Join(baseurl, DockerVirtualDefaultName, "<image>:<tag>")
message += "\n" + coreutils.PrintTitle("Pull and Push any docker image using Artifactory") +
message += "\n" + coreutils.PrintTitle("Pull and push any docker image using Artifactory") +
"\n" +
"1. jf docker tag <image>:<tag> " + imageUrl + "\n" +
"2. jf docker pull " + imageUrl + "\n" +
"3. jf docker push " + imageUrl + "\n"
"jf docker tag <image>:<tag> " + imageUrl + "\n" +
"jf docker push " + imageUrl + "\n" +
"jf docker pull " + imageUrl + "\n"
}
}

Expand Down

0 comments on commit a1d9695

Please sign in to comment.