mirror of
https://github.com/hadolint/hadolint-action.git
synced 2024-08-16 10:09:53 +02:00
avoid failing on missing trusted registries
This commit is contained in:
parent
bc86787e19
commit
e8cde77aa0
1 changed files with 4 additions and 0 deletions
|
@ -19,6 +19,10 @@ if [ -n "$HADOLINT_CONFIG" ]; then
|
|||
HADOLINT_CONFIG="-c ${HADOLINT_CONFIG}"
|
||||
fi
|
||||
|
||||
if [ -z "$HADOLINT_TRUSTED_REGISTRIES" ]; then
|
||||
unset HADOLINT_TRUSTED_REGISTRIES;
|
||||
fi
|
||||
|
||||
OUTPUT=
|
||||
if [ -n "$HADOLINT_OUTPUT" ]; then
|
||||
if [ -f "$HADOLINT_OUTPUT" ]; then
|
||||
|
|
Loading…
Reference in a new issue