new pipeline

This commit is contained in:
Ruan Bekker 2019-04-18 09:37:11 +02:00 committed by GitHub
parent 27ce263a84
commit 1c49ecd75d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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