Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Rogge, Torben
lab-rest
Commits
f29584d5
Commit
f29584d5
authored
Mar 01, 2021
by
Nane Kratzke
Browse files
Fix container build
parent
aa70d909
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
f29584d5
...
...
@@ -29,7 +29,8 @@ container:
script
:
-
mkdir -p /kaniko/.docker
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --context api --destination $CI_REGISTRY_IMAGE/api:latest
-
cd api
-
/kaniko/executor --context . --destination $CI_REGISTRY_IMAGE/api:latest
api
:
stage
:
deploy
...
...
Write
Preview
Supports
Markdown
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