run env after publish

This commit is contained in:
Ruan Bekker 2019-04-18 10:06:32 +02:00 committed by GitHub
parent 9af1946862
commit 4390ec5ec5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -13,13 +13,17 @@ steps:
- echo "run env command"
- env
- echo $${MYUSERNAME} > /tmp/file
- mkdir -p /tmp/foo/dir
- touch /tmp/foo/dir/test.txt
- name: publish
image: plugins/docker
secrets: [ dockerhub_username, dockerhub_password ]
settings:
repo: ruanbekker/dronetest
tags: latest
auto_tag: true
username:
from_secret: dockerhub_username
password:
from_secret: dockerhub_password
commands:
- env