Update '.drone.yml'
This commit is contained in:
14
.drone.yml
14
.drone.yml
@ -1,3 +1,4 @@
|
|||||||
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: default
|
name: default
|
||||||
@ -18,3 +19,16 @@ steps:
|
|||||||
- docker run hello-world
|
- docker run hello-world
|
||||||
when:
|
when:
|
||||||
branch: [main]
|
branch: [main]
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test-secrets
|
||||||
|
image: alpine
|
||||||
|
environment:
|
||||||
|
HOST:
|
||||||
|
from_secret: docker_host
|
||||||
|
commands:
|
||||||
|
- echo $HOST
|
||||||
|
Reference in New Issue
Block a user