🚧 This instance is under construction; expect occasional downtime. Runners available in /repos. Questions? Ask in #wikimedia-gitlab on libera.chat, or under GitLab on Phabricator.

Commit 0d763927 authored by Wolfgang Kandek's avatar Wolfgang Kandek
Browse files

Update .gitlab-ci.yml with docker hub registry URLs

parent cbb10012
......@@ -20,11 +20,11 @@ docker_build_job:
tags:
- k8s-runner
script:
- docker login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD registry.cn-beijing.aliyuncs.com
- docker login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD hub.docker.com
- mkdir target
- cp /opt/cache/demo.war target/demo.war
- docker build -t registry.cn-beijing.aliyuncs.com/haoshuwei24/gitlabci-java-demo:$CI_PIPELINE_ID .
- docker push registry.cn-beijing.aliyuncs.com/haoshuwei24/gitlabci-java-demo:$CI_PIPELINE_ID
- docker build -t hub.docker.com/wkandek/gitlabci-java-demo:$CI_PIPELINE_ID .
- docker push hub.docker.com/wkandek/gitlabci-java-demo:$CI_PIPELINE_ID
deploy_k8s_job:
image: registry.cn-hangzhou.aliyuncs.com/haoshuwei24/kubectl:1.16.6
stage: deploy_k8s
......
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