Update '.drone.yml'

This commit is contained in:
gav
2022-05-08 13:01:39 +07:00
parent f26f7cce37
commit 08fc8f56e7

View File

@ -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