Skip to content

Commit 55962c5

Browse files
committed
use registry port when priming
1 parent 9247611 commit 55962c5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker_push_ssh/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def pushImage(dockerImageTagList, sshHost, sshIdentityFile, sshPort, primeImages
122122
"-o", "UserKnownHostsFile=/dev/null",
123123
sshHost,
124124
"sh -l -c \"docker pull {0}".format(primeImage) +
125-
" && docker tag {0} localhost:5000/{0} && docker push localhost:5000/{0}\"".format(primeImage)
125+
" && docker tag {0} localhost:{1}/{0} && docker push localhost:{1}/{0}\"".format(primeImage, registryPort)
126126
]).execute()
127127

128128
if primingCommand.failed():

0 commit comments

Comments
 (0)