Commit 15ca0053 by shipengwei

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

parents 3a289eea 50094447
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Official docker image. # Official docker image.
variables: variables:
BASE_VERSION: "1.0" BASE_VERSION: "1.0"
CI_TIMESTAMP: "$CI_COMMIT_TIMESTAMP" IMAGE_NAME: "dotnet-cicd-demo"
CI_REGISTRY_IMAGE: "k8s-t0.tencentcloudcr.com/eoc/dotnet-cicd-demo" CI_REGISTRY_IMAGE: "k8s-t0.tencentcloudcr.com/eoc/dotnet-cicd-demo"
image: docker:latest image: docker:latest
...@@ -14,7 +14,7 @@ before_script: ...@@ -14,7 +14,7 @@ before_script:
- echo "$CI_REGISTRY_IMAGE" - echo "$CI_REGISTRY_IMAGE"
- echo "$CI_COMMIT_REF_SLUG" - echo "$CI_COMMIT_REF_SLUG"
- FULLVERSION=BASE_VERSION.$(date +"%y%m%d%H%M") - FULLVERSION=BASE_VERSION.$(date +"%y%m%d%H%M")
- export $FULLVERSION - export FULLVERSION
- echo $FULLVERSION - echo $FULLVERSION
- docker login -u 'tcr$eoc' -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - 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