Last active
December 24, 2015 04:18
-
-
Save j-mcnally/02b6a34bb9e8847a4c85 to your computer and use it in GitHub Desktop.
Image deployment script
This file contains 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
#!/bin/bash | |
docker build -t user/myrepo . && \ | |
docker push user/myrepo && \ | |
ssh docker-web '/opt/utils/upgrade_container.sh' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment