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