Commit c23cc91b by shipengwei

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

parents ea3689fd cb9c77b0
......@@ -16,7 +16,10 @@ before_script:
- export FULLVERSION=$BASE_VERSION.$(date +"%Y%m%d%H")-${CI_COMMIT_SHA:0:7}
- echo $FULLVERSION
- echo "$CI_REGISTRY_PASSWORD" | docker login --username 'tcr$eoc' --password-stdin $CI_REGISTRY
- export
stages:
- build
- deploy
build-master-x86:
stage: build
......@@ -39,7 +42,7 @@ build-master-arm64:
- arm64
build-manifest:
stage: build
stage: deploy
script:
- docker manifest create $CI_REGISTRY_IMAGE:$FULLVERSION $CI_REGISTRY_IMAGE:$FULLVERSION-amd64 $CI_REGISTRY_IMAGE:$FULLVERSION-arm64
- docker manifest push $CI_REGISTRY_IMAGE:$FULLVERSION
......
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