replace drone env file and add command for ci addition

This commit is contained in:
Simon Bruder 2018-03-28 15:25:59 +00:00
parent 93f6d3af00
commit 1a79c2a24e
No known key found for this signature in database
GPG key ID: 6F03E0000CC5B62F

View file

@ -159,5 +159,10 @@ export ANDROID_HOME="$HOME/projekte/android/sdk"
## include docker functions
source ~/.zshrc.docker
## include drone secrets
[ -e ~/.zshrc.drone ] && source ~/.zshrc.drone
## drone ci
function drone-add-ci() {
(
source ~/.drone-env
drone registry add --repository $1 --hostname r.sbruder.de --username simon --password $DRONE_CI_PASSWORD
)
}