Commit c14eec70 authored by zhoubin's avatar zhoubin

Merge branch 'dev' into 'main'

迁移卓易云

See merge request !90
parents e26d5a23 5a4b2241
Pipeline #143040 failed with stages
in 3 minutes and 17 seconds
...@@ -52,14 +52,14 @@ deploy: ...@@ -52,14 +52,14 @@ deploy:
only: only:
- main - main
publish: # publish:
image: hub.eazytec-cloud.com/devops/oc:3.11 # image: hub.eazytec-cloud.com/devops/oc:3.11
before_script: # before_script:
- oc login -p "${OKDPASS}" -u ${OKDUSER} --insecure-skip-tls-verify ${OKD} # - oc login -p "${OKDPASS}" -u ${OKDUSER} --insecure-skip-tls-verify ${OKD}
- oc project ${PROJECT} # - oc project ${PROJECT}
stage: publish # stage: publish
script: # script:
- if [ $TAG == "master" ]; then TAG="latest"; fi # - if [ $TAG == "master" ]; then TAG="latest"; fi
- oc import-image ${IMAGESTREAM}:${TAG} --from=${REPO}/${NAMESPACE}/${IMAGE}:${TAG} --confirm # - oc import-image ${IMAGESTREAM}:${TAG} --from=${REPO}/${NAMESPACE}/${IMAGE}:${TAG} --confirm
only: # only:
- main # - main
\ No newline at end of file \ No newline at end of file
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