Appease formatter
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
904c475947
commit
1dfa801dcb
|
@ -20,7 +20,7 @@ generate_secrets() {
|
||||||
|
|
||||||
export DOCKER_HOST="ssh://$PLUGIN_USER@$PLUGIN_HOST:$PLUGIN_PORT"
|
export DOCKER_HOST="ssh://$PLUGIN_USER@$PLUGIN_HOST:$PLUGIN_PORT"
|
||||||
|
|
||||||
for SECRET in $(yq r "$PLUGIN_COMPOSE" 'secrets.*.name'); do
|
for SECRET in $(yq r "$PLUGIN_COMPOSE" 'secrets.*.name'); do
|
||||||
SECRET=$(eval echo "$SECRET")
|
SECRET=$(eval echo "$SECRET")
|
||||||
if docker secret ls | grep -q "$SECRET"; then
|
if docker secret ls | grep -q "$SECRET"; then
|
||||||
echo "Skipping existing secret $SECRET"
|
echo "Skipping existing secret $SECRET"
|
||||||
|
|
Reference in New Issue