More resilient check

This commit is contained in:
thespad
2024-12-30 20:25:42 +00:00
parent cc9bef6bda
commit ed2093ab36
+1 -1
View File
@@ -301,7 +301,7 @@ run_mods() {
FULLTAG="${DOCKER_MOD#*:}"
TAG="${FULLTAG%@*}"
TAGSHA="${DOCKER_MOD#*@}"
if [[ ! "${TAGSHA}" =~ sha256 ]]; then
if [[ ! "${TAGSHA}" =~ sha256: ]]; then
unset TAGSHA
fi
if [[ "${TAG}" == "${DOCKER_MOD}" ]]; then