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: steps:
- name: dispatch - name: dispatch
image: rancher/dapper:v0.4.2 image: curlimages/curl:7.69.1
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 - scripts/dispatch
volumes:
- name: docker
path: /var/run/docker.sock
trigger: trigger:
instance: instance:
@ -369,10 +366,5 @@ trigger:
event: event:
- tag - tag
volumes:
- name: docker
host:
path: /var/run/docker.sock
depends_on: depends_on:
- manifest - manifest