Skip to content

Instantly share code, notes, and snippets.

@JayH5
Last active October 30, 2017 14:30
Show Gist options
  • Save JayH5/4fadd44a3a71904d08c60f8b56fc8ac0 to your computer and use it in GitHub Desktop.
Save JayH5/4fadd44a3a71904d08c60f8b56fc8ac0 to your computer and use it in GitHub Desktop.
Example Travis deploy
...
before_deploy:
- docker login -u "$REGISTRY_USER" -p "$REGISTRY_PASS"
- pip install docker-ci-deploy==0.3.0
deploy:
provider: script
script: dcd --version "$version" --version-latest "$IMAGE_TAG"
on:
branch: master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment