libreschool-iso/.drone.yml
Paolo Asperti cdc3115340
All checks were successful
continuous-integration/drone/push Build is passing
wip
2020-03-04 20:46:28 +01:00

38 lines
1012 B
YAML

kind: pipeline
name: default
steps:
- name: build
image: registry.libreschool.org/libreschool-automation/libreschool-iso-builder:latest
settings:
source_iso_url: http://repo.libreschool.org/nethserver/iso/nethserver-7.7.1908-x86_64.iso
output_iso: libreschool-7.7-x86_64.iso
when:
event: [ push, tag ]
- name: gitea_release
image: plugins/gitea-release
settings:
note: -<
Please download the ISO from
http://repo.libreschool.org/iso/libreschool-7.7-x86_64.iso
api_key:
from_secret: gitea_token
base_url: https://git.libreschool.org
prerelease: true
file_exists: skip
when:
event: tag
- name: repo_upload
image: appleboy/drone-scp
settings:
source: libreschool-7.7-x86_64.iso
target: /vhosts/repo.libreschool.org/https/iso
host: repo.libreschool.org
username:
from_secret: ssh_username
key:
from_secret: ssh_key
when:
event: tag