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

Aktualisieren .gitlab-ci.yml

parent 14079d3d
...@@ -18,6 +18,6 @@ publish: ...@@ -18,6 +18,6 @@ publish:
stage: build stage: build
script: script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
- docker build -t $CI_REGISTRY_IMAGE/web:$CI_COMMIT_SHA -t $CI_REGISTRY_IMAGE/web:latest . - docker build -t $CI_REGISTRY_IMAGE/web:automatic -t $CI_REGISTRY_IMAGE/web:latest .
- docker push $CI_REGISTRY_IMAGE/web:$CI_COMMIT_SHA - docker push $CI_REGISTRY_IMAGE/web:automatic
- docker push $CI_REGISTRY_IMAGE/web:latest - docker push $CI_REGISTRY_IMAGE/web:latest
Markdown is supported
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