mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
Use curl to send dispatch event to k3s-upgrade repo
This commit is contained in:
parent
037a993971
commit
0e4263b65a
12
.drone.yml
12
.drone.yml
@ -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
|
Loading…
Reference in New Issue
Block a user