run env after publish
This commit is contained in:
parent
9af1946862
commit
4390ec5ec5
1 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue