Output generated secrets for debugging
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
69df540680
commit
143b8974d6
|
@ -33,6 +33,7 @@ generate_secrets() {
|
||||||
|
|
||||||
# shellcheck disable=SC2086
|
# shellcheck disable=SC2086
|
||||||
for SECRET in $(yq r ${PLUGIN_COMPOSE//:/ } 'secrets.*.name'); do
|
for SECRET in $(yq r ${PLUGIN_COMPOSE//:/ } 'secrets.*.name'); do
|
||||||
|
echo "$SECRET"
|
||||||
SECRET=$(eval echo "$SECRET")
|
SECRET=$(eval echo "$SECRET")
|
||||||
if docker -H "$REMOTE_DOCKER_HOST" secret ls | grep -q "$SECRET"; then
|
if docker -H "$REMOTE_DOCKER_HOST" secret ls | grep -q "$SECRET"; then
|
||||||
echo "Skipping existing secret $SECRET"
|
echo "Skipping existing secret $SECRET"
|
||||||
|
|
Loading…
Reference in New Issue