Changed pipeline to build using the branch name as the tag

This commit is contained in:
Obique
2019-05-18 12:05:52 -05:00
parent 5c354c4571
commit 12fc8b8dfa

View File

@@ -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/**