Fixing the yaml file so it biulds the container when merging to master

This commit is contained in:
Luke Robles 2017-08-08 12:39:14 -07:00
parent e4b719a460
commit 4490c2e3b5

View File

@ -25,6 +25,7 @@ pipelines:
- step:
script:
- export IMAGE_NAME=ldooks/dragon-bot:latest
- docker build -t $IMAGE_NAME .
# authenticate with the Docker Hub registry
- docker login --username $DOCKER_HUB_USERNAME --password $DOCKER_HUB_PASSWORD
# push the new Docker image to the Docker registry