Skip to content
Snippets Groups Projects
Commit 82bf7b95 authored by ale's avatar ale
Browse files

Allow setting the registry hostname

parent 4e148805
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,7 @@ trap "rm -f $tmp_file 2>/dev/null" EXIT ...@@ -24,6 +24,7 @@ trap "rm -f $tmp_file 2>/dev/null" EXIT
gitlab-deps list-projects $opts \ gitlab-deps list-projects $opts \
| egrep "${PROJECT_REGEXP:-.*}" \ | egrep "${PROJECT_REGEXP:-.*}" \
| gitlab-deps deps $opts \ | gitlab-deps deps $opts \
${GITLAB_REGISTRY_HOSTNAME:+--registry=${GITLAB_REGISTRY_HOSTNAME}} \
> $tmp_file > $tmp_file
if ! cmp --quiet $tmp_file $deps_file; then if ! cmp --quiet $tmp_file $deps_file; then
......
# Set to the public URL of your Gitlab repository. # Set to the public URL of your Gitlab repository.
GITLAB_URL= GITLAB_URL=
# Set to the registry hostname (https:// is assumed) if necessary.
GITLAB_REGISTRY_HOSTNAME=
# File with the authorization token. # File with the authorization token.
GITLAB_TOKEN_FILE=/var/lib/gitlab-deps/auth_token GITLAB_TOKEN_FILE=/var/lib/gitlab-deps/auth_token
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment