Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
6fj authored Mar 29, 2024
1 parent 17ffa19 commit 04ddcd6
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .circleci/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,22 @@ jobs:
# login docker
docker login -u secretflow -p ${DOCKER_DEPLOY_TOKEN}
docker buildx create --name psi-image-builder --platform linux/arm64,linux/amd64 --use
docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile -t secretflow/psi-anolis8:$TAG --build-arg version=$TAG --build-arg config_templates="$(cat config_templates.yml)" --build-arg deploy_templates="$(cat deploy_templates.yml)" --push .
docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile -t secretflow/psi-anolis8:latest --build-arg version=$TAG --build-arg config_templates="$(cat config_templates.yml)" --build-arg deploy_templates="$(cat deploy_templates.yml)" --push .
docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile -t secretflow/psi-anolis8:$TAG \
--build-arg version=$TAG --build-arg config_templates="$(cat config_templates.yml)" \
--build-arg deploy_templates="$(cat deploy_templates.yml)" --push .
docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile -t secretflow/psi-anolis8:latest \
--build-arg version=$TAG --build-arg config_templates="$(cat config_templates.yml)" \
--build-arg deploy_templates="$(cat deploy_templates.yml)" --push .
# login docker - aliyun
docker login -u ${ALIYUN_DOCKER_USERNAME} -p ${ALIYUN_DOCKER_PASSWORD} secretflow-registry.cn-hangzhou.cr.aliyuncs.com
docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile -t secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/psi-anolis8:$TAG --build-arg version=$TAG --build-arg config_templates="$(cat config_templates.yml)" --build-arg deploy_templates="$(cat deploy_templates.yml)" --push .
docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile -t secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/psi-anolis8:latest --build-arg version=$TAG --build-arg config_templates="$(cat config_templates.yml)" --build-arg deploy_templates="$(cat deploy_templates.yml)" --push .
docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile -t secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/psi-anolis8:$TAG \
--build-arg version=$TAG --build-arg config_templates="$(cat config_templates.yml)" \
--build-arg deploy_templates="$(cat deploy_templates.yml)" --push .
docker buildx build --platform linux/arm64,linux/amd64 -f Dockerfile -t secretflow-registry.cn-hangzhou.cr.aliyuncs.com/secretflow/psi-anolis8:latest \
--build-arg version=$TAG --build-arg config_templates="$(cat config_templates.yml)" \
--build-arg deploy_templates="$(cat deploy_templates.yml)" --push .
# Invoke jobs via workflows
# See: https://circleci.com/docs/2.0/configuration-reference/#workflows
Expand Down

0 comments on commit 04ddcd6

Please sign in to comment.