Commit 4e3cacfe by shipengwei

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

parents 01b61bfd 3b3ac9f1
...@@ -20,7 +20,7 @@ before_script: ...@@ -20,7 +20,7 @@ before_script:
build-master-x86: build-master-x86:
stage: build stage: build
script: script:
- docker build --platform linux/amd64 --pull -t $CI_REGISTRY_IMAGE:$FULLVERSION-amd64 . - docker buildx build --platform linux/amd64 --pull -t $CI_REGISTRY_IMAGE:$FULLVERSION-amd64 .
- docker push $CI_REGISTRY_IMAGE:$FULLVERSION - docker push $CI_REGISTRY_IMAGE:$FULLVERSION
only: only:
- master - master
...@@ -30,7 +30,7 @@ build-master-x86: ...@@ -30,7 +30,7 @@ build-master-x86:
build-master-arm64: build-master-arm64:
stage: build stage: build
script: script:
- docker build --platform linux/arm64 --pull -t $CI_REGISTRY_IMAGE:$FULLVERSION-arm64 . - docker buildx build --platform linux/arm64 --pull -t $CI_REGISTRY_IMAGE:$FULLVERSION-arm64 .
- docker push $CI_REGISTRY_IMAGE:$FULLVERSION - docker push $CI_REGISTRY_IMAGE:$FULLVERSION
only: only:
- master - master
......
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