Created
January 15, 2019 16:34
-
-
Save dineshsonachalam/42ff021a6e865169b4f5665841911d82 to your computer and use it in GitHub Desktop.
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
sudo: required | |
services: | |
- docker | |
before_install: | |
- docker build -t dineshsonachalam/hacker:1.0.0 . | |
script: | |
#log in to docker CLI | |
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_ID" --password-stdin | |
#take built images and push to Docker hub | |
- docker push dineshsonachalam/hacker:1.0.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment