Commit 634d545f authored by Evgeny Lavrik's avatar Evgeny Lavrik
Browse files

Update .gitlab-ci.yml

parent 5d8cf984
......@@ -15,7 +15,7 @@ fairroot:
script:
# Prepare Kaniko configuration file
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_DEPLOY_USER\",\"password\":\"$CI_DEPLOY_PASSWORD\"}}}"
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"CI_PRIVATE_REGISTRY_AUTH\"}}}" > /kaniko/.docker/config.json
- echo "{\"auths\":{\"$CI_REGISTRY\":{\"auth\":\"$CI_PRIVATE_REGISTRY_AUTH\"}}}" > /kaniko/.docker/config.json
# Build and push the image from the Dockerfile at the root of the project.
# To push to a specific docker tag, amend the --destination parameter, e.g. --destination $CI_REGISTRY_IMAGE:$CI_BUILD_REF_NAME
# See https://docs.gitlab.com/ee/ci/variables/predefined_variables.html#variables-reference for available variables
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment