37 lines
804 B
YAML
37 lines
804 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: Build live-cd Image
|
|
image: debian:buster
|
|
privileged: true
|
|
commands:
|
|
- cat config/build
|
|
- apt update
|
|
- cat config/build
|
|
- apt install -y live-build binutils
|
|
- cat config/build
|
|
- sed -i '1161s%umount%#umount%' /usr/share/debootstrap/functions
|
|
- cat config/build
|
|
- lb clean --purge
|
|
- cat config/build
|
|
- lb config
|
|
- cat config/build
|
|
- lb build
|
|
- cat config/build
|
|
|
|
- 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
|