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
cloud-native
lab-rest
Commits
55909693
Commit
55909693
authored
Apr 20, 2022
by
Nane Kratzke
Browse files
Aktualisieren .gitlab-ci.yml
parent
b768dc8b
Pipeline
#85088
passed with stages
in 2 minutes
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
55909693
...
...
@@ -17,12 +17,14 @@ secrets:
"
container
:
image
:
docker:dind
services
:
[
"
docker:dind"
]
stage
:
build
script
:
-
cd api
-
img
login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
img
build -t $CI_REGISTRY_IMAGE/api:latest .
-
img
push $CI_REGISTRY_IMAGE/api:latest
-
docker
login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
-
docker
build -t $CI_REGISTRY_IMAGE/api:latest .
-
docker
push $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