diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 9776e5c4d..0a6f08c35 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -20,8 +20,8 @@ pipelines: - ./gradlew test - ./gradlew jlink - docker login -u $DOCKER_HUB_USER -p $DOCKER_HUB_PASSWORD - - docker build -t $DOCKER_HUB_REPO/holocore:$DOCKER_HUB_TAG . - - docker push $DOCKER_HUB_REPO/holocore:$DOCKER_HUB_TAG + - docker build -t $DOCKER_HUB_REPO/holocore:$BITBUCKET_BRANCH . + - docker push $DOCKER_HUB_REPO/holocore:$BITBUCKET_BRANCH artifacts: - pswgcommon/** - client-holocore/**