Commit 38ab88fd by shipengwei

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

parents e2a230bb cbc82b60
...@@ -13,21 +13,25 @@ before_script: ...@@ -13,21 +13,25 @@ before_script:
- echo $CI_COMMIT_REF_SLUG - echo $CI_COMMIT_REF_SLUG
- docker login -u 'tcr$eoc' -p $CI_REGISTRY_PASSWORD $CI_REGISTRY - docker login -u 'tcr$eoc' -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
build-master: build-master-x86:
stage: build stage: build
script: script:
- docker build --pull -t $CI_REGISTRY_IMAGE . - docker build --pull -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE - docker push $CI_REGISTRY_IMAGE
only: only:
- master - master
parallel:
matrix:
- RUNNER_TAG: "linux-x86"
RUNNER_ARCH: "x86_64"
- RUNNER_TAG: "linux-arm"
RUNNER_ARCH: "aarch64"
tags: tags:
- $RUNNER_TAG - linux-x86
build-master-aarch64:
stage: build
script:
- docker build --pull -t $CI_REGISTRY_IMAGE .
- docker push $CI_REGISTRY_IMAGE
only:
- master
tags:
- aarch64
#build: #build:
# stage: build # stage: build
......
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