feat: support group build. (#224)
This commit is contained in:
parent
0a9a30c588
commit
d2a9b8e31c
33
.drone.yml
33
.drone.yml
|
@ -37,32 +37,37 @@ pipeline:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
branch: [ refs/tags/* ]
|
branch: [ refs/tags/* ]
|
||||||
|
|
||||||
docker:
|
publish_latest:
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
repo: appleboy/gorush
|
repo: ${DRONE_REPO}
|
||||||
secrets: [ docker_username, docker_password ]
|
|
||||||
tags: [ '${DRONE_TAG}' ]
|
|
||||||
when:
|
|
||||||
event: [ tag ]
|
|
||||||
branch: [ refs/tags/* ]
|
|
||||||
|
|
||||||
docker:
|
|
||||||
image: plugins/docker
|
|
||||||
repo: appleboy/gorush
|
|
||||||
secrets: [ docker_username, docker_password ]
|
|
||||||
tags: [ 'latest' ]
|
tags: [ 'latest' ]
|
||||||
|
secrets: [ docker_username, docker_password ]
|
||||||
when:
|
when:
|
||||||
event: [ push ]
|
event: [ push ]
|
||||||
branch: [ master ]
|
branch: [ master ]
|
||||||
|
local: false
|
||||||
|
|
||||||
github:
|
publish_tag:
|
||||||
|
image: plugins/docker
|
||||||
|
repo: ${DRONE_REPO}
|
||||||
|
tags: [ '${DRONE_TAG}' ]
|
||||||
|
secrets: [ docker_username, docker_password ]
|
||||||
|
group: release
|
||||||
|
when:
|
||||||
|
event: [ tag ]
|
||||||
|
branch: [ refs/tags/* ]
|
||||||
|
local: false
|
||||||
|
|
||||||
|
release_tag:
|
||||||
image: plugins/github-release
|
image: plugins/github-release
|
||||||
secrets: [ github_token ]
|
secrets: [ github_release_api_key ]
|
||||||
|
group: release
|
||||||
files:
|
files:
|
||||||
- dist/release/*
|
- dist/release/*
|
||||||
when:
|
when:
|
||||||
event: [ tag ]
|
event: [ tag ]
|
||||||
branch: [ refs/tags/* ]
|
branch: [ refs/tags/* ]
|
||||||
|
local: false
|
||||||
|
|
||||||
facebook:
|
facebook:
|
||||||
image: appleboy/drone-facebook
|
image: appleboy/drone-facebook
|
||||||
|
|
Loading…
Reference in New Issue