提交 59590cf1 编写于 作者: J johnniang

Update travis.yaml

上级 8f5f508b
......@@ -15,12 +15,17 @@ jobs:
script: ./gradlew check
- stage: build
script: ./gradlew build -x test
- stage: build docker image
- stage: build-docker-image
scrip:
- echo "$DOCKER_PASSWORD" | docker login -u "$DOCKER_USERNAME" --password-stdin
- docker build -t $DOCKER_USERNAME/halo .
- docker images
- docker push $DOCKER_USERNAME/halo
stages:
- test
- build
- name: build-docker-image
if: branch = master OR branch = dev
branches:
only:
- master
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册