nll-live-system/.drone.yml

38 lines
804 B
YAML
Raw Normal View History

2021-03-07 12:43:29 +00:00
---
kind: pipeline
type: docker
name: default
steps:
- name: Build live-cd Image
image: debian:buster
privileged: true
commands:
2021-03-07 15:14:22 +00:00
- cat config/build
2021-03-07 12:43:29 +00:00
- apt update
- cat config/build
2021-03-07 12:43:29 +00:00
- apt install -y live-build binutils
- cat config/build
2021-03-07 12:43:29 +00:00
- sed -i '1161s%umount%#umount%' /usr/share/debootstrap/functions
- cat config/build
2021-03-07 12:43:29 +00:00
- lb clean --purge
- cat config/build
2021-03-07 12:43:29 +00:00
- lb config
- cat config/build
2021-03-07 12:43:29 +00:00
- lb build
- cat config/build
2021-03-07 12:43:29 +00:00
2021-03-07 12:52:43 +00:00
- name: gitea_release
image: plugins/gitea-release
settings:
api_key:
from_secret: lagertonne_droneio_key
base_url: https://git.neulandlabor.de/
files:
- live-image*.iso
checksum:
- sha512
- md5
when:
event: tag