This commit is contained in:
commit
c848960fca
18
.drone.yml
Normal file
18
.drone.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: hcloud
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: get hcloud
|
||||||
|
image: alpine
|
||||||
|
commands:
|
||||||
|
- apk add -U curl
|
||||||
|
- curl -L https://github.com/hetznercloud/cli/releases/latest/download/hcloud-linux-amd64.tar.gz | tar zx
|
||||||
|
|
||||||
|
- name: hcloud
|
||||||
|
image: alpine
|
||||||
|
environment:
|
||||||
|
HCLOUD_TOKEN:
|
||||||
|
from_secret: hcloud_token
|
||||||
|
commands:
|
||||||
|
- hcloud server list
|
Loading…
x
Reference in New Issue
Block a user