Merge pull request #1474 from erikwilson/dev-build-update

Use trigger for manifest and dispatch in drone pipeline
pull/1492/head
Erik Wilson 5 years ago committed by GitHub
commit 673d8b64f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -273,14 +273,15 @@ steps:
- DOCKER_USERNAME - DOCKER_USERNAME
- DOCKER_PASSWORD - DOCKER_PASSWORD
- DRONE_TAG - DRONE_TAG
when:
instance: trigger:
- drone-publish.rancher.io instance:
ref: - drone-publish.rancher.io
- refs/head/master ref:
- refs/tags/* - refs/head/master
event: - refs/tags/*
- tag event:
- tag
depends_on: depends_on:
- amd64 - amd64
@ -296,26 +297,28 @@ 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:
from_secret: pat_username from_secret: pat_username
PAT_TOKEN: PAT_TOKEN:
from_secret: github_token from_secret: github_token
commands: commands:
- dapper dispatch - dapper dispatch
volumes: volumes:
- name: docker - name: docker
path: /var/run/docker.sock path: /var/run/docker.sock
when:
instance: trigger:
- drone-publish.rancher.io instance:
ref: - drone-publish.rancher.io
- refs/head/master ref:
- refs/tags/* - refs/head/master
event: - refs/tags/*
- tag event:
- tag
volumes: volumes:
- name: docker - name: docker
host: host:

Loading…
Cancel
Save