Skip to content

Commit a55cc0b

Browse files
fix(docker): upstream_registries envvar in docker entrypoint
1 parent a629084 commit a55cc0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ else
167167
return 405 "DELETE method is not allowed";
168168
}
169169
EOF
170-
if [[ -v UPSTREAM_REGISTRIES ]]; then
170+
if [[ "a${UPSTREAM_REGISTRIES}" != "a" ]]; then
171171
UPSTREAM_REGISTRIES_DELIMITER=${UPSTREAM_REGISTRIES_DELIMITER:-" "}
172172
s=$UPSTREAM_REGISTRIES$UPSTREAM_REGISTRIES_DELIMITER
173173
upstream_array=()

0 commit comments

Comments
 (0)