diff --git a/home/.zshrc.local b/home/.zshrc.local index 3cac3d3..6c28caa 100644 --- a/home/.zshrc.local +++ b/home/.zshrc.local @@ -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 + ) +}