Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Eoin Clerkin
cbmroot-hub
Commits
2284fdd7
Commit
2284fdd7
authored
Apr 28, 2020
by
Evgeny Lavrik
Browse files
Update .gitlab-ci.yml
parent
634d545f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
.gitlab-ci.yml
.gitlab-ci.yml
+1
-2
No files found.
.gitlab-ci.yml
View file @
2284fdd7
...
...
@@ -14,8 +14,7 @@ fairroot:
entrypoint
:
[
"
"
]
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\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment