From e5013f632b7f3017a8ffbc4cc8e072b606fb8035 Mon Sep 17 00:00:00 2001 From: luke Date: Fri, 4 Aug 2017 22:49:50 -0700 Subject: [PATCH] updating pipeline script --- bitbucket-pipelines.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 90bfac50..48a71b2b 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -10,15 +10,11 @@ options: docker: true 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: master: - step: script: + - export IMAGE_NAME=ldooks/dragon-bot:latest # build the Docker image (this will use the Dockerfile in the root of the repo) - docker build -t $IMAGE_NAME . # authenticate with the Docker Hub registry