From 6c3aa39a76fea3b2d716822aa1b75f8b51c841d5 Mon Sep 17 00:00:00 2001 From: 3wc <3wc.git@doesthisthing.work> Date: Fri, 25 Sep 2020 19:31:21 +0200 Subject: [PATCH] Show yq container contents to debug missing file --- plugin.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin.sh b/plugin.sh index 2ee59a0..d5acd3d 100755 --- a/plugin.sh +++ b/plugin.sh @@ -9,6 +9,7 @@ PLUGIN_USER=${PLUGIN_USER:-drone} generate_secrets() { echo "--- start secrets ---" + docker run --rm -v "${PWD}":/workdir mikefarah/yq ls for SECRET in $(docker run --rm -v "${PWD}":/workdir mikefarah/yq yq r "$PLUGIN_COMPOSE" 'secrets.*.name'); do eval "echo \"generating $SECRET\"" PW=$(