correct drone
This commit is contained in:
parent
1a79c2a24e
commit
684e8db099
|
@ -160,9 +160,17 @@ export ANDROID_HOME="$HOME/projekte/android/sdk"
|
|||
source ~/.zshrc.docker
|
||||
|
||||
## drone ci
|
||||
function drone-add-ci() {
|
||||
function drone-add-registry() {
|
||||
(
|
||||
source ~/.drone-env
|
||||
drone registry add --repository $1 --hostname r.sbruder.de --username simon --password $DRONE_CI_PASSWORD
|
||||
drone secret add --name docker_username --value simon "$1"
|
||||
drone secret add --name docker_password --value "$DRONE_CI_PASSWORD" "$1"
|
||||
)
|
||||
}
|
||||
|
||||
function drone() {
|
||||
(
|
||||
source ~/.drone-env
|
||||
~/bin/drone $@
|
||||
)
|
||||
}
|
||||
|
|
Reference in a new issue