Created
March 22, 2018 18:28
-
-
Save thejsj/6f29f89aebbc5c4f084a0b9f16bcdbf7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function pull_image () { | |
echo $1 | |
devdocker_image="devdocker.mulesoft.com:18078/mulesoft/$1" | |
apiserver_image="apiserver:5000/mulesoft/$1" | |
docker pull $devdocker_image | |
docker tag $devdocker_image $apiserver_image | |
docker push $apiserver_image | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment