Skip to content

Commit

Permalink
update release process in drone.
Browse files Browse the repository at this point in the history
Signed-off-by: Bo-Yi Wu <[email protected]>
  • Loading branch information
appleboy committed Oct 28, 2017
1 parent 18921b6 commit 5ed2f75
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pipeline:
branch: [ master ]
local: false

publish_tag_linux_amd64:
publish_linux_amd64:
image: plugins/docker
group: tag
repo: ${DRONE_REPO}
Expand All @@ -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 ]
Expand Down

0 comments on commit 5ed2f75

Please sign in to comment.