Browse Source

Added different build step for push than for tag

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

12
.drone.yml

@ -3,12 +3,18 @@ workspace:
path: src/git.aiterp.net/rpdata/api path: src/git.aiterp.net/rpdata/api
pipeline: pipeline:
docker:
docker-release:
image: plugins/docker image: plugins/docker
repo: vmaple/rpdata repo: vmaple/rpdata
tags: latest tags: latest
auto_tag: true auto_tag: true
secrets: [ docker_username, docker_password ] secrets: [ docker_username, docker_password ]
when: 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