diff --git a/plugin.sh b/plugin.sh index 5b12a29..f766efd 100755 --- a/plugin.sh +++ b/plugin.sh @@ -20,7 +20,7 @@ generate_secrets() { 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") if docker secret ls | grep -q "$SECRET"; then echo "Skipping existing secret $SECRET"