replace drone env file and add command for ci addition
This commit is contained in:
parent
93f6d3af00
commit
1a79c2a24e
|
@ -159,5 +159,10 @@ export ANDROID_HOME="$HOME/projekte/android/sdk"
|
||||||
## include docker functions
|
## include docker functions
|
||||||
source ~/.zshrc.docker
|
source ~/.zshrc.docker
|
||||||
|
|
||||||
## include drone secrets
|
## drone ci
|
||||||
[ -e ~/.zshrc.drone ] && source ~/.zshrc.drone
|
function drone-add-ci() {
|
||||||
|
(
|
||||||
|
source ~/.drone-env
|
||||||
|
drone registry add --repository $1 --hostname r.sbruder.de --username simon --password $DRONE_CI_PASSWORD
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
Reference in a new issue