drone-ci-testing/.drone.yml
2019-04-18 09:51:09 +02:00

21 lines
442 B
YAML

kind: pipeline
name: default
steps:
- name: test
image: alpine
environment:
MYUSERNAME:
from_secret: myusername
commands:
- echo "echo secret"
- echo $${MYUSERNAME}
- echo "run env command"
- env
- echo $${MYUSERNAME} > /tmp/file
- name: publish
image: plugins/docker
repo: ruanbekker/dronetest
tags: latest
secrets: [ dockerhub_username, dockerhub_password ]