From 5866624317cb0708c41546afabc341e48f258810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9A=8F=E9=81=87=E8=80=8C=E5=AE=89?= <164770707@qq.com> Date: Sun, 29 May 2022 14:00:25 +0000 Subject: [PATCH] add pipeline-docker.yml for Gitee Go created_at:2022-05-29 14:00:25 --- .workflow/pipeline-docker.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .workflow/pipeline-docker.yml diff --git a/.workflow/pipeline-docker.yml b/.workflow/pipeline-docker.yml new file mode 100644 index 00000000..a2d90f39 --- /dev/null +++ b/.workflow/pipeline-docker.yml @@ -0,0 +1,35 @@ +version: '1.0' +name: pipeline-docker +displayName: pipeline-docker +triggers: + trigger: auto + push: + branches: + precise: + - master + commitMessages: + include: + - ^deploy-docker +stages: + - name: stage-59a550ac + displayName: 构建镜像 + strategy: naturally + trigger: auto + executor: + - kerwincui + steps: + - step: build@docker + name: build_docker + displayName: 镜像构建 + type: cert + certificate: kerwincui-docker + tag: ${GITEE_PIPELINE_BUILD_NUMBER} + dockerfile: ./docker/Dockerfile + context: ./docker + isCache: true + strategy: + retry: '0' +permissions: + - role: admin + members: + - kerwincui