Skip to content

Instantly share code, notes, and snippets.

@j-mcnally
Last active December 24, 2015 04:18
Show Gist options
  • Save j-mcnally/02b6a34bb9e8847a4c85 to your computer and use it in GitHub Desktop.
Save j-mcnally/02b6a34bb9e8847a4c85 to your computer and use it in GitHub Desktop.
Image deployment script
#!/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