Commit 43e1f420 by shipengwei

Merge branch 'master' of git.aipark.com:eoc-group/dotnet-cicd-demo

parents 9e05203c c09c7063
......@@ -2,8 +2,6 @@
# Official docker image.
variables:
BASEVERSION: "1.0"
DATAVERSION: $(date +%Y%m%d%H%M)
FULLVERSION: "${BASEVERSION}.${DATAVERSION}"
CI_REGISTRY_IMAGE: "k8s-t0.tencentcloudcr.com/eoc/dotnet-cicd-demo"
image: docker:latest
......@@ -14,6 +12,7 @@ services:
before_script:
- echo $CI_REGISTRY_IMAGE
- echo $CI_COMMIT_REF_SLUG
- FullVERSION=${BASEVERSION}.$(date +%Y%m%d%H%M)
- echo $FULLVERSION
- docker login -u 'tcr$eoc' -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
......
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