Skip to content
Snippets Groups Projects
Commit 24b587f5 authored by Moritz Lange's avatar Moritz Lange
Browse files

Update .gitlab-ci.yml

parent 6c7f1132
No related branches found
No related tags found
No related merge requests found
Pipeline #1375 failed
...@@ -12,6 +12,9 @@ cache: ...@@ -12,6 +12,9 @@ cache:
variables: variables:
MAVEN_OPTS: "-Dmaven.repo.local=maven.repository" MAVEN_OPTS: "-Dmaven.repo.local=maven.repository"
DOCKER_DRIVER: overlay
DOCKER_HOST: tcp://localhost:2375
build-app: build-app:
stage: build stage: build
...@@ -28,3 +31,14 @@ test-app: ...@@ -28,3 +31,14 @@ test-app:
- mvn test -B - mvn test -B
dependencies: dependencies:
- build-app - build-app
docker-app:
stage: package
image: docker:git
services:
- docker:18-dind
script:
- docker login lab.it.hs-hannover.de:4567 -u htf-cmh -p au5UqNsYYqDqnAbQyGgY
- docker build -t lab.it.hs-hannover.de:4567/htf-cmh/vis_buildserver_gitlabci_demo:${CI_COMMIT_SHORT_SHA} .
- docker push lab.it.hs-hannover.de:4567/htf-cmh/vis_buildserver_gitlabci_demo:${CI_COMMIT_SHORT_SHA}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment