mirror of
https://github.com/drone/drone-cli.git
synced 2024-11-23 09:21:56 +01:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
334089f7ac
36
.drone.yml
36
.drone.yml
@ -7,13 +7,43 @@ pipeline:
|
||||
image: golang:1.9
|
||||
commands: sh .drone.sh
|
||||
|
||||
snapshot:
|
||||
publish_latest:
|
||||
image: plugins/docker
|
||||
repo: drone/cli
|
||||
secrets: [docker_username, docker_password]
|
||||
auto_tag: true
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
event: [push, tag]
|
||||
|
||||
publish_alpine:
|
||||
image: plugins/docker
|
||||
repo: drone/cli
|
||||
secrets: [docker_username, docker_password]
|
||||
auto_tag: true
|
||||
auto_tag_suffix: alpine
|
||||
dockerfile: Dockerfile.alpine
|
||||
when:
|
||||
event: [push, tag]
|
||||
|
||||
publish_linux_arm:
|
||||
image: plugins/docker
|
||||
repo: drone/cli
|
||||
secrets: [docker_username, docker_password]
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-arm
|
||||
dockerfile: Dockerfile.linux.arm
|
||||
when:
|
||||
event: [push, tag]
|
||||
|
||||
publish_linux_arm64:
|
||||
image: plugins/docker
|
||||
repo: drone/cli
|
||||
secrets: [docker_username, docker_password]
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-arm64
|
||||
dockerfile: Dockerfile.linux.arm64
|
||||
when:
|
||||
event: [push, tag]
|
||||
|
||||
release:
|
||||
image: plugins/github-release
|
||||
|
@ -1,5 +1,5 @@
|
||||
FROM drone/ca-certs
|
||||
|
||||
ADD release/linux/amd64/drone /bin/
|
||||
COPY release/linux/amd64/drone /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone"]
|
||||
|
7
Dockerfile.alpine
Normal file
7
Dockerfile.alpine
Normal file
@ -0,0 +1,7 @@
|
||||
FROM alpine:3.7
|
||||
|
||||
RUN apk add --no-cache ca-certificates
|
||||
|
||||
COPY release/linux/amd64/drone /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone"]
|
5
Dockerfile.linux.arm
Normal file
5
Dockerfile.linux.arm
Normal file
@ -0,0 +1,5 @@
|
||||
FROM drone/ca-certs
|
||||
|
||||
COPY release/linux/arm/drone /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone"]
|
6
Dockerfile.linux.arm64
Normal file
6
Dockerfile.linux.arm64
Normal file
@ -0,0 +1,6 @@
|
||||
FROM drone/ca-certs
|
||||
|
||||
COPY release/linux/arm64/drone /bin/
|
||||
|
||||
ENTRYPOINT ["/bin/drone"]
|
||||
|
Loading…
Reference in New Issue
Block a user