mirror of
https://github.com/hadolint/hadolint-action.git
synced 2025-01-18 21:44:45 +01: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}"
|
HADOLINT_CONFIG="-c ${HADOLINT_CONFIG}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ -z "$HADOLINT_TRUSTED_REGISTRIES" ]; then
|
||||||
|
unset HADOLINT_TRUSTED_REGISTRIES;
|
||||||
|
fi
|
||||||
|
|
||||||
OUTPUT=
|
OUTPUT=
|
||||||
if [ -n "$HADOLINT_OUTPUT" ]; then
|
if [ -n "$HADOLINT_OUTPUT" ]; then
|
||||||
if [ -f "$HADOLINT_OUTPUT" ]; then
|
if [ -f "$HADOLINT_OUTPUT" ]; then
|
||||||
|
|
Loading…
Add table
Reference in a new issue