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
#!/usr/bin/env python | |
""" | |
As part of my jenkins build-pipeline, I'm having jenkins build and then deploy my services directly into nomad. | |
my build and deploy in jenkins looks like this: | |
docker build -t pdfservice:$BUILD_NUMBER . | |
docker tag pdfservice:$BUILD_NUMBER registry.service.consul:5000/pdfservice:$BUILD_NUMBER | |
docker push registry.service.consul:5000/pdfservice:$BUILD_NUMBER | |
docker build -t pdfservice:latest . | |
docker tag pdfservice:latest registry.service.consul:5000/pdfservice:latest | |
docker push registry.service.consul:5000/pdfservice:latest |