updating pipeline script

This commit is contained in:
luke 2017-08-04 22:49:50 -07:00
parent 28c8eaf623
commit e5013f632b

View File

@ -10,15 +10,11 @@ options:
docker: true docker: true
pipelines: pipelines:
default:
- step:
script:
# Set $DOCKER_HUB_USERNAME and $DOCKER_HUB_PASSWORD as environment variables in repository settings
- export IMAGE_NAME=ldooks/dragon-bot:latest
branches: branches:
master: master:
- step: - step:
script: script:
- export IMAGE_NAME=ldooks/dragon-bot:latest
# build the Docker image (this will use the Dockerfile in the root of the repo) # build the Docker image (this will use the Dockerfile in the root of the repo)
- docker build -t $IMAGE_NAME . - docker build -t $IMAGE_NAME .
# authenticate with the Docker Hub registry # authenticate with the Docker Hub registry