Created
February 11, 2017 21:12
-
-
Save nilbus/1b73abe11ea80a5e619c796ed8b3d86b to your computer and use it in GitHub Desktop.
nilbus.com docker service update script
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
| #!/bin/sh | |
| # Used with https://github.com/nilbus/docker-hook to deploy $IMAGE | |
| # when triggered by a Docker Hub webhook. | |
| IMAGE='nilbus/nilbus.com' | |
| docker pull $IMAGE | |
| docker service update http --image $IMAGE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment