Added different build step for push than for tag
the build was successful

This commit is contained in:
2018-06-26 08:34:15 +02:00
parent 32c673d701
commit c724c8965a
+9 -3
View File
@@ -3,12 +3,18 @@ workspace:
path: src/git.aiterp.net/rpdata/api
pipeline:
docker:
docker-release:
image: plugins/docker
repo: vmaple/rpdata
tags: latest
auto_tag: true
secrets: [ docker_username, docker_password ]
when:
event: [push, tag, deployment]
branch: master
event: tag
docker-dev:
image: plugins/docker
repo: vmaple/rpdata
tags: trunk
secrets: [ docker_username, docker_password ]
when:
event: push