mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-03 01:42:20 +08:00
add master-pipeline.yml for Gitee Go created_at:2022-04-25 08:58:29
This commit is contained in:
parent
7ca5e9b0d0
commit
ad1b69493a
44
.workflow/master-pipeline.yml
Normal file
44
.workflow/master-pipeline.yml
Normal file
@ -0,0 +1,44 @@
|
|||||||
|
version: '1.0'
|
||||||
|
name: dtk-build-commit-20220425
|
||||||
|
displayName: dtk-build-commit
|
||||||
|
triggers:
|
||||||
|
trigger: auto
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
prefix:
|
||||||
|
- master
|
||||||
|
pr:
|
||||||
|
branches:
|
||||||
|
prefix:
|
||||||
|
- ''
|
||||||
|
stages:
|
||||||
|
- name: stage-200d0b6b
|
||||||
|
displayName: docker build
|
||||||
|
strategy: naturally
|
||||||
|
trigger: auto
|
||||||
|
executor: []
|
||||||
|
steps:
|
||||||
|
- step: build@docker
|
||||||
|
name: build_docker
|
||||||
|
displayName: 镜像构建
|
||||||
|
type: account
|
||||||
|
repository: hub.docker.com
|
||||||
|
username: shenmo7192
|
||||||
|
password: '12345678'
|
||||||
|
tag: build.${GITEE_PIPELINE_BUILD_NUMBER}
|
||||||
|
dockerfile: ./.gitee/Dockerfile
|
||||||
|
isCache: false
|
||||||
|
- name: stage-78c83955
|
||||||
|
displayName: upload
|
||||||
|
strategy: naturally
|
||||||
|
trigger: auto
|
||||||
|
executor: []
|
||||||
|
steps:
|
||||||
|
- step: publish@general_artifacts
|
||||||
|
name: publish_general_artifacts
|
||||||
|
displayName: 上传制品
|
||||||
|
dependArtifact: BUILD_ARTIFACT
|
||||||
|
artifactName: package
|
||||||
|
permissions:
|
||||||
|
- role: admin
|
||||||
|
members: []
|
Loading…
x
Reference in New Issue
Block a user