libreschool-iso/.drone.yml

27 lines
630 B
YAML
Raw Normal View History

2019-04-20 14:53:27 +02:00
# workspace:
# base: /build
# path: /
pipeline:
build:
2019-04-21 17:40:20 +02:00
image: registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest
2019-04-20 14:53:27 +02:00
source_iso_url: http://repo.libreschool.org/nethserver/iso/nethserver-7.6.1810-x86_64.iso
2019-04-22 12:04:59 +02:00
output_iso: libreschool-7.6-x86_64.iso
2019-04-20 14:53:27 +02:00
when:
event: [ push, tag ]
2019-04-22 01:50:09 +02:00
2019-04-22 12:04:59 +02:00
# THAT'S A BAD IDEA
gitea_release:
2019-04-22 01:50:09 +02:00
group: deploy
image: plugins/gitea-release
2019-04-22 12:04:59 +02:00
files: libreschool-7.6-x86_64.iso
2019-04-22 01:50:09 +02:00
checksum:
- md5
- sha1
- sha256
- sha512
secrets: [ gitea_token ]
base_url: https://git.libreschool.org
when:
event: tag