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

Aktualisieren .gitlab-ci.yml

parent 22c1180a
......@@ -5,15 +5,15 @@ stages:
- test
- build
test:
build-to-test:
stage: test
script:
- docker build -t web:test .
- docker run -d -p 8888:80 web:test
- wget http://docker:8888 --output-document fetched.html
- docker run -d -p 8080:80 web:test
- wget http://docker:8080 --output-document fetched.html
- cmp fetched.html web/index.html
build:
publish:
stage: build
script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
......
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