Commit 65ddfdc7 authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren .gitlab-ci.yml

parent e6c9fc37
...@@ -5,7 +5,7 @@ stages: ...@@ -5,7 +5,7 @@ stages:
- test - test
- build - build
build-to-test: build-local-to-test:
stage: test stage: test
script: script:
- docker build -t web:test . - docker build -t web:test .
...@@ -14,7 +14,7 @@ build-to-test: ...@@ -14,7 +14,7 @@ build-to-test:
- wget http://docker:8888 --output-document fetched.html - wget http://docker:8888 --output-document fetched.html
- cmp fetched.html web/index.html || echo "Wrong HTML document" - cmp fetched.html web/index.html || echo "Wrong HTML document"
publish: build-to-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
......
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