Browse Source

Added different build step for push than for tag

1.0
Gisle Aune 7 years ago
parent
commit
c724c8965a
  1. 12
      .drone.yml

12
.drone.yml

@ -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
Loading…
Cancel
Save