Commit f3c1c623 by shenggui.li

Update .gitlab-ci.yml

parent b5a5d64b
Pipeline #2050 passed with stages
in 2 minutes 4 seconds
......@@ -28,7 +28,6 @@ mvn_package:
# - mv docker_conf Dockerfile target/
- mkdir target
- cp web/target/mob-dna-1.0.jar target/ && cp Dockerfile target/
# - aws s3 cp web/target/mob-dna-1.0.jar s3://tkio-test-gitlabrunner-cache/runner/project/
- ls ; cd target ; ls -lh
- md5sum mob-dna-1.0.jar
only:
......@@ -41,7 +40,6 @@ build_image:
stage: build
script:
- pwd; ls -lh ; df -h ;cd target;ls; md5sum mob-dna-1.0.jar
- aws s3 cp target/mob-dna-1.0.jar s3://tkio-test-gitlabrunner-cache/runner/project/
- docker run -i --network host --rm amazon/aws-cli ecr get-login-password --region cn-north-1 | docker login --username AWS --password-stdin ${REG_BASE}
- docker build -t ${REG_URL}:${CI_COMMIT_SHA} .
- docker push ${REG_URL}:${CI_COMMIT_SHA}
......
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