Commit 472a589c authored by Administrator's avatar Administrator

Update .gitlab-ci.yml

parent a68c7b71
image: docker:latest
image: openjdk:8-jdk-alpine
services:
- docker:dind
variables:
DOCKER_HOST: tcp://docker:2375/
DOCKER_DRIVER: overlay2
cache:
paths:
- .m2/
......@@ -16,7 +20,7 @@ build:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker tag maven:latest "$CI_REGISTRY_IMAGE/$CI_PROJECT_NAME:latest"
- docker tag openjdk:8-jdk-alpine "$CI_REGISTRY_IMAGE/$CI_PROJECT_NAME:latest"
- docker push "$CI_REGISTRY_IMAGE/$CI_PROJECT_NAME:latest"
sonar:
......
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