mirror of
https://github.com/hadolint/hadolint-action.git
synced 2026-07-18 13:28:15 +00:00
avoid failing on missing trusted registries
This commit is contained in:
committed by
GitHub
parent
bc86787e19
commit
e8cde77aa0
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user