[zsh] new password locations
This commit is contained in:
parent
93b3059090
commit
1251f5408f
|
@ -140,7 +140,7 @@ function drone-add-hub() {
|
|||
|
||||
function drone-add-registry() {
|
||||
drone secret add --name docker_username --data simon "$1"
|
||||
drone secret add --name docker_password --data "$(pass accounts/sbruderldap|head -n 1)" "$1"
|
||||
drone secret add --name docker_password --data "$(pass sbruder.de/account|head -n 1)" "$1"
|
||||
}
|
||||
|
||||
function drone-add-netlify() {
|
||||
|
@ -148,23 +148,23 @@ function drone-add-netlify() {
|
|||
}
|
||||
|
||||
function drone-add-s3() {
|
||||
drone secret add --name aws_access_key_id --data "$(pass-field data/minio/personal User)" "$1"
|
||||
drone secret add --name aws_secret_access_key --data "$(pass data/minio/personal|head -n 1)" "$1"
|
||||
drone secret add --name aws_access_key_id --data "$(pass-field sbruder.de/minio/personal User)" "$1"
|
||||
drone secret add --name aws_secret_access_key --data "$(pass sbruder.de/minio/personal|head -n 1)" "$1"
|
||||
}
|
||||
|
||||
function drone() (
|
||||
export DRONE_SERVER="$(pass-field management/drone Server)"
|
||||
export DRONE_TOKEN="$(pass management/drone|head -n 1)"
|
||||
export DRONE_SERVER="$(pass-field sbruder.de/drone Server)"
|
||||
export DRONE_TOKEN="$(pass sbruder.de/drone|head -n 1)"
|
||||
~/bin/drone $@
|
||||
)
|
||||
|
||||
function docker-ls() (
|
||||
export DOCKER_LS_PASSWORD="$(pass accounts/sbruderldap|head -n 1)"
|
||||
export DOCKER_LS_PASSWORD="$(pass sbruder.de/account|head -n 1)"
|
||||
~/bin/docker-ls $@
|
||||
)
|
||||
|
||||
function docker-rm() (
|
||||
export DOCKER_LS_PASSWORD="$(pass accounts/sbruderldap|head -n 1)"
|
||||
export DOCKER_LS_PASSWORD="$(pass sbruder.de/account|head -n 1)"
|
||||
~/bin/docker-rm $@
|
||||
)
|
||||
|
||||
|
|
Reference in a new issue