diff --git a/2019.09/apache/entrypoint.sh b/2019.09/apache/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.09/apache/entrypoint.sh +++ b/2019.09/apache/entrypoint.sh @@ -19,7 +19,7 @@ version_greater() { check_branch() { repo=${1:-} branch=${2:-} - git ls-remote --heads --tags "$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null + git ls-remote --heads --tags "https://github.com/$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null [ "$?" -eq "0" ] } diff --git a/2019.09/fpm-alpine/entrypoint.sh b/2019.09/fpm-alpine/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.09/fpm-alpine/entrypoint.sh +++ b/2019.09/fpm-alpine/entrypoint.sh @@ -19,7 +19,7 @@ version_greater() { check_branch() { repo=${1:-} branch=${2:-} - git ls-remote --heads --tags "$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null + git ls-remote --heads --tags "https://github.com/$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null [ "$?" -eq "0" ] } diff --git a/2019.09/fpm/entrypoint.sh b/2019.09/fpm/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.09/fpm/entrypoint.sh +++ b/2019.09/fpm/entrypoint.sh @@ -19,7 +19,7 @@ version_greater() { check_branch() { repo=${1:-} branch=${2:-} - git ls-remote --heads --tags "$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null + git ls-remote --heads --tags "https://github.com/$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null [ "$?" -eq "0" ] } diff --git a/2019.12-dev/apache/entrypoint.sh b/2019.12-dev/apache/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.12-dev/apache/entrypoint.sh +++ b/2019.12-dev/apache/entrypoint.sh @@ -19,7 +19,7 @@ version_greater() { check_branch() { repo=${1:-} branch=${2:-} - git ls-remote --heads --tags "$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null + git ls-remote --heads --tags "https://github.com/$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null [ "$?" -eq "0" ] } diff --git a/2019.12-dev/fpm-alpine/entrypoint.sh b/2019.12-dev/fpm-alpine/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.12-dev/fpm-alpine/entrypoint.sh +++ b/2019.12-dev/fpm-alpine/entrypoint.sh @@ -19,7 +19,7 @@ version_greater() { check_branch() { repo=${1:-} branch=${2:-} - git ls-remote --heads --tags "$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null + git ls-remote --heads --tags "https://github.com/$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null [ "$?" -eq "0" ] } diff --git a/2019.12-dev/fpm/entrypoint.sh b/2019.12-dev/fpm/entrypoint.sh index f51b20a..4ddcbaa 100755 --- a/2019.12-dev/fpm/entrypoint.sh +++ b/2019.12-dev/fpm/entrypoint.sh @@ -19,7 +19,7 @@ version_greater() { check_branch() { repo=${1:-} branch=${2:-} - git ls-remote --heads --tags "$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null + git ls-remote --heads --tags "https://github.com/$repo" | grep -E "refs/(heads|tags)/${branch}$" >/dev/null [ "$?" -eq "0" ] }