Commit 55909693 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren .gitlab-ci.yml

parent b768dc8b
Pipeline #85088 passed with stages
in 2 minutes
......@@ -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
......
Supports Markdown
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