Skip to content

Commit

Permalink
Update .gitlab-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChandonPierre committed Sep 11, 2023
1 parent 291e84c commit c4d57d0
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ 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/
REGPROXY_URI: http://193.25.126.17:3128/
before_script:
- export HTTP_PROXY=${REGPROXY_URI}
- export HTTPS_PROXY=${REGPROXY_URI}
- mkdir -p /etc/ssl/certs/ && cat /etc/gitlab-runner/certs/proxy-ca.crt >> /etc/ssl/certs/ca-certificates.crt
- mkdir -p /kaniko/.docker
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
- cat /etc/gitlab-runner/certs/proxy-ca.crt >> /etc/ssl/certs/ca-certificates.crt
script: |-
/kaniko/executor \
$KANIKO_ADDTL_ARGS \
Expand Down

0 comments on commit c4d57d0

Please sign in to comment.