update release process in drone.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
18921b6ac3
commit
5ed2f75c17
26
.drone.yml
26
.drone.yml
|
@ -108,7 +108,7 @@ pipeline:
|
|||
branch: [ master ]
|
||||
local: false
|
||||
|
||||
publish_tag_linux_amd64:
|
||||
publish_linux_amd64:
|
||||
image: plugins/docker
|
||||
group: tag
|
||||
repo: ${DRONE_REPO}
|
||||
|
@ -120,6 +120,30 @@ pipeline:
|
|||
ref: [ refs/tags/* ]
|
||||
local: false
|
||||
|
||||
publish_linux_arm:
|
||||
image: plugins/docker
|
||||
group: tag
|
||||
repo: ${DRONE_REPO}
|
||||
tags: [ linux-arm, 'linux-arm-${DRONE_TAG}' ]
|
||||
dockerfile: Dockerfile.arm
|
||||
secrets: [ docker_username, docker_password ]
|
||||
when:
|
||||
event: [ tag ]
|
||||
ref: [ refs/tags/* ]
|
||||
local: false
|
||||
|
||||
publish_linux_arm64:
|
||||
image: plugins/docker
|
||||
group: tag
|
||||
repo: ${DRONE_REPO}
|
||||
tags: [ linux-arm64, 'linux-arm64-${DRONE_TAG}' ]
|
||||
dockerfile: Dockerfile.arm64
|
||||
secrets: [ docker_username, docker_password ]
|
||||
when:
|
||||
event: [ tag ]
|
||||
ref: [ refs/tags/* ]
|
||||
local: false
|
||||
|
||||
release_tag:
|
||||
image: plugins/github-release
|
||||
secrets: [ github_release_api_key ]
|
||||
|
|
Loading…
Reference in New Issue