Use curl to send dispatch event to k3s-upgrade repo

This commit is contained in:
galal-hussein 2020-03-13 23:56:03 +02:00
parent 037a993971
commit 0e4263b65a

View File

@ -348,17 +348,14 @@ platform:
steps:
- name: dispatch
image: rancher/dapper:v0.4.2
image: curlimages/curl:7.69.1
environment:
PAT_USERNAME:
from_secret: pat_username
PAT_TOKEN:
from_secret: github_token
commands:
- dapper dispatch
volumes:
- name: docker
path: /var/run/docker.sock
- scripts/dispatch
trigger:
instance:
@ -369,10 +366,5 @@ trigger:
event:
- tag
volumes:
- name: docker
host:
path: /var/run/docker.sock
depends_on:
- manifest