From 12fc8b8dfa6ad149ec92887adce5afdaa1c8cf2d Mon Sep 17 00:00:00 2001 From: Obique Date: Sat, 18 May 2019 12:05:52 -0500 Subject: [PATCH] Changed pipeline to build using the branch name as the tag --- bitbucket-pipelines.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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/**