27 lines
630 B
YAML
27 lines
630 B
YAML
# workspace:
|
|
# base: /build
|
|
# path: /
|
|
|
|
pipeline:
|
|
build:
|
|
image: registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest
|
|
source_iso_url: http://repo.libreschool.org/nethserver/iso/nethserver-7.6.1810-x86_64.iso
|
|
output_iso: libreschool-7.6-x86_64.iso
|
|
when:
|
|
event: [ push, tag ]
|
|
|
|
# THAT'S A BAD IDEA
|
|
gitea_release:
|
|
group: deploy
|
|
image: plugins/gitea-release
|
|
files: libreschool-7.6-x86_64.iso
|
|
checksum:
|
|
- md5
|
|
- sha1
|
|
- sha256
|
|
- sha512
|
|
secrets: [ gitea_token ]
|
|
base_url: https://git.libreschool.org
|
|
when:
|
|
event: tag
|