Commit f0158bfb authored by Administrator's avatar Administrator

Update .gitlab-ci.yml

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