Output generated secrets for debugging
continuous-integration/drone/push Build is passing Details

This commit is contained in:
3wc 2023-01-21 10:36:54 -08:00
parent 69df540680
commit 143b8974d6
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ generate_secrets() {
# shellcheck disable=SC2086
for SECRET in $(yq r ${PLUGIN_COMPOSE//:/ } 'secrets.*.name'); do
echo "$SECRET"
SECRET=$(eval echo "$SECRET")
if docker -H "$REMOTE_DOCKER_HOST" secret ls | grep -q "$SECRET"; then
echo "Skipping existing secret $SECRET"