Minor tweak to gitlab-ci

This commit is contained in:
Deon George 2023-04-05 23:09:08 +10:00
parent 999a5e5bf6
commit 0c0d80472b

View File

@ -23,8 +23,7 @@ before_script:
- if [ ! -d build-cache ]; then mkdir build-cache; fi - if [ ! -d build-cache ]; then mkdir build-cache; fi
- sed -ie s'/https/http/' /etc/apk/repositories - sed -ie s'/https/http/' /etc/apk/repositories
- HTTP_PROXY=http://proxy.dege.lan:3128 apk add git curl - HTTP_PROXY=http://proxy.dege.lan:3128 apk add git curl
- docker info - docker info && docker version
- docker version
# env|sort # env|sort
# docker login -u "$CI_DEPENDENCY_PROXY_USER" -p "$CI_DEPENDENCY_PROXY_PASSWORD" "$CI_SERVER_HOST" # docker login -u "$CI_DEPENDENCY_PROXY_USER" -p "$CI_DEPENDENCY_PROXY_PASSWORD" "$CI_SERVER_HOST"
- echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin - echo "$CI_JOB_TOKEN" | docker login -u "$CI_REGISTRY_USER" "$CI_REGISTRY" --password-stdin