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:
|
kind: pipeline
|
||||||
docker:
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: build
|
||||||
image: alpine
|
image: alpine
|
||||||
secrets: [ myusername ]
|
environment:
|
||||||
commands:
|
MYUSERNAME:
|
||||||
- echo $${MYUSERNAME}
|
from_secret: myusername
|
||||||
- echo "run export command"
|
|
||||||
- export
|
|
||||||
- echo $MYUSERNAME > /tmp/file
|
|
||||||
- cat /tmp/file
|
|
||||||
|
|
Loading…
Reference in a new issue