Update '.drone.yml'
This commit is contained in:
14
.drone.yml
14
.drone.yml
@ -1,3 +1,4 @@
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
@ -18,3 +19,16 @@ steps:
|
||||
- docker run hello-world
|
||||
when:
|
||||
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