Skip to content

Commit

Permalink
use cache proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
ChandonPierre committed Sep 11, 2023
1 parent 316f751 commit de686e2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,9 @@ build:
REF_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
FIXED_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_SHORT_SHA
DOCKERFILE: ${CI_PROJECT_DIR}/Dockerfile
HTTP_PROXY: http://193.25.126.17:3128/
HTTPS_PROXY: http://193.25.126.17:3128/
before_script:
- export HTTP_PROXY=${CACHE_PROXY}
- export DEBUG=${DEBUG}
- export NO_PROXY=${CACHE_REGISTRY_HOST}
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
script: |-
Expand Down

0 comments on commit de686e2

Please sign in to comment.