Commit d502dea2 authored by Erik Wilson's avatar Erik Wilson

Use trigger for manifest and dispatch in drone pipeline

parent 74b5a4d5
...@@ -273,7 +273,8 @@ steps: ...@@ -273,7 +273,8 @@ steps:
- DOCKER_USERNAME - DOCKER_USERNAME
- DOCKER_PASSWORD - DOCKER_PASSWORD
- DRONE_TAG - DRONE_TAG
when:
trigger:
instance: instance:
- drone-publish.rancher.io - drone-publish.rancher.io
ref: ref:
...@@ -296,7 +297,7 @@ platform: ...@@ -296,7 +297,7 @@ platform:
arch: amd64 arch: amd64
steps: steps:
- name: dispatch - name: dispatch
image: rancher/dapper:v0.4.2 image: rancher/dapper:v0.4.2
environment: environment:
PAT_USERNAME: PAT_USERNAME:
...@@ -308,7 +309,8 @@ steps: ...@@ -308,7 +309,8 @@ steps:
volumes: volumes:
- name: docker - name: docker
path: /var/run/docker.sock path: /var/run/docker.sock
when:
trigger:
instance: instance:
- drone-publish.rancher.io - drone-publish.rancher.io
ref: ref:
...@@ -316,6 +318,7 @@ steps: ...@@ -316,6 +318,7 @@ steps:
- refs/tags/* - refs/tags/*
event: event:
- tag - tag
volumes: volumes:
- name: docker - name: docker
host: host:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment