Added auto-build on tagging to drone
the build was successful
Details
the build was successful
Details
This commit is contained in:
parent
ece8699693
commit
f904aa49d7
34
.drone.yml
34
.drone.yml
|
@ -34,13 +34,27 @@ pipeline:
|
|||
when:
|
||||
event: [ push, tag, pull_request ]
|
||||
|
||||
# static:
|
||||
# image: karalabe/xgo-latest:latest
|
||||
# pull: true
|
||||
# environment:
|
||||
# TAGS: bindata sqlite
|
||||
# GOPATH: /srv/app
|
||||
# commands:
|
||||
# - make release
|
||||
# when:
|
||||
# event: [ push, tag ]
|
||||
# Build a release when tagging
|
||||
static:
|
||||
image: karalabe/xgo-latest:latest
|
||||
pull: true
|
||||
environment:
|
||||
TAGS: bindata sqlite
|
||||
GOPATH: /srv/app
|
||||
commands:
|
||||
- make release
|
||||
when:
|
||||
event: [ tag ]
|
||||
|
||||
release:
|
||||
image: plugins/s3:1
|
||||
pull: true
|
||||
secrets: [ aws_access_key_id, aws_secret_access_key ]
|
||||
bucket: library-release
|
||||
endpoint: https://storage.kolaente.de
|
||||
path_style: true
|
||||
strip_prefix: dist/release/
|
||||
source: dist/release/*
|
||||
target: /library/${DRONE_TAG##v}
|
||||
when:
|
||||
event: [ tag ]
|
Loading…
Reference in New Issue