Commit f0158bfb authored by Administrator's avatar Administrator

Update .gitlab-ci.yml

parent cdc3860f
image: openjdk:8-jdk-alpine
image: docker:latest
services:
- docker:dind
......@@ -19,7 +19,7 @@ build:
stage: build
script:
- docker build --pull -t "$CI_REGISTRY_IMAGE" .
- docker tag openjdk:8-jdk-alpine "$CI_REGISTRY_IMAGE/$CI_PROJECT_NAME:latest"
- docker tag docker:latest "$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