new pipeline
This commit is contained in:
parent
27ce263a84
commit
1c49ecd75d
1 changed files with 8 additions and 9 deletions
17
.drone.yml
17
.drone.yml
|
@ -1,10 +1,9 @@
|
|||
pipeline:
|
||||
docker:
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: alpine
|
||||
secrets: [ myusername ]
|
||||
commands:
|
||||
- echo $${MYUSERNAME}
|
||||
- echo "run export command"
|
||||
- export
|
||||
- echo $MYUSERNAME > /tmp/file
|
||||
- cat /tmp/file
|
||||
environment:
|
||||
MYUSERNAME:
|
||||
from_secret: myusername
|
||||
|
|
Loading…
Reference in a new issue