Commit 5a4b2241 authored by zhoubin's avatar zhoubin

迁移卓易云

parent c13be340
......@@ -52,14 +52,14 @@ deploy:
only:
- main
publish:
image: hub.eazytec-cloud.com/devops/oc:3.11
before_script:
- oc login -p "${OKDPASS}" -u ${OKDUSER} --insecure-skip-tls-verify ${OKD}
- oc project ${PROJECT}
stage: publish
script:
- if [ $TAG == "master" ]; then TAG="latest"; fi
- oc import-image ${IMAGESTREAM}:${TAG} --from=${REPO}/${NAMESPACE}/${IMAGE}:${TAG} --confirm
only:
- main
\ No newline at end of file
# publish:
# image: hub.eazytec-cloud.com/devops/oc:3.11
# before_script:
# - oc login -p "${OKDPASS}" -u ${OKDUSER} --insecure-skip-tls-verify ${OKD}
# - oc project ${PROJECT}
# stage: publish
# script:
# - if [ $TAG == "master" ]; then TAG="latest"; fi
# - oc import-image ${IMAGESTREAM}:${TAG} --from=${REPO}/${NAMESPACE}/${IMAGE}:${TAG} --confirm
# only:
# - main
\ 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