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
dadf14b7
Commit
dadf14b7
authored
Apr 28, 2020
by
Evgeny Lavrik
Browse files
Update .gitlab-ci.yml
parent
7a4dd112
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
.gitlab-ci.yml
.gitlab-ci.yml
+3
-3
No files found.
.gitlab-ci.yml
View file @
dadf14b7
...
@@ -14,7 +14,7 @@ fairroot:
...
@@ -14,7 +14,7 @@ fairroot:
entrypoint
:
[
"
"
]
entrypoint
:
[
"
"
]
script
:
script
:
# Prepare Kaniko configuration file
# Prepare Kaniko configuration file
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_
REGISTR
Y_USER\",\"password\":\"$CI_
REGISTR
Y_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_
DEPLO
Y_USER\",\"password\":\"$CI_
DEPLO
Y_PASSWORD\"}}}" > /kaniko/.docker/config.json
# Build and push the image from the Dockerfile at the root of the project.
# 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
# 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
# See https://docs.gitlab.com/ee/ci/variables/predefined_variables.html#variables-reference for available variables
...
@@ -35,7 +35,7 @@ cbmroot:
...
@@ -35,7 +35,7 @@ cbmroot:
entrypoint
:
[
"
"
]
entrypoint
:
[
"
"
]
script
:
script
:
# Prepare Kaniko configuration file
# Prepare Kaniko configuration file
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_
REGISTR
Y_USER\",\"password\":\"$CI_
REGISTR
Y_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_
DEPLO
Y_USER\",\"password\":\"$CI_
DEPLO
Y_PASSWORD\"}}}" > /kaniko/.docker/config.json
# Build and push the image from the Dockerfile at the root of the project.
# 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
# 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
# See https://docs.gitlab.com/ee/ci/variables/predefined_variables.html#variables-reference for available variables
...
@@ -56,7 +56,7 @@ cbmroot-hub:
...
@@ -56,7 +56,7 @@ cbmroot-hub:
entrypoint
:
[
"
"
]
entrypoint
:
[
"
"
]
script
:
script
:
# Prepare Kaniko configuration file
# Prepare Kaniko configuration file
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_
REGISTR
Y_USER\",\"password\":\"$CI_
REGISTR
Y_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_
DEPLO
Y_USER\",\"password\":\"$CI_
DEPLO
Y_PASSWORD\"}}}" > /kaniko/.docker/config.json
# Build and push the image from the Dockerfile at the root of the project.
# 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
# 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
# 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