Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Hübner, Jan-Ole
lab-containerization
Commits
fe85625b
Commit
fe85625b
authored
Sep 18, 2020
by
Nane Kratzke
Browse files
Aktualisieren .gitlab-ci.yml
parent
22c1180a
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
fe85625b
...
...
@@ -5,15 +5,15 @@ stages:
-
test
-
build
test
:
build-to-
test
:
stage
:
test
script
:
-
docker build -t web:test .
-
docker run -d -p 8
888
:80 web:test
-
wget http://docker:8
888
--output-document fetched.html
-
docker run -d -p 8
080
:80 web:test
-
wget http://docker:8
080
--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
...
...
Write
Preview
Markdown
is supported
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