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
|
|
|
|
- apt install -y live-build binutils
|
|
|
|
- sed -i '1161s%umount%#umount%' /usr/share/debootstrap/functions
|
|
|
|
- lb clean --purge
|
|
|
|
- lb config
|
|
|
|
- lb build
|
|
|
|
|
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
|