Add testing drone-config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
212f014894
commit
52c7f51485
1 changed files with 31 additions and 0 deletions
31
.drone.yml
Normal file
31
.drone.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Build live-cd Image
|
||||||
|
image: debian:buster
|
||||||
|
privileged: true
|
||||||
|
commands:
|
||||||
|
- apt update
|
||||||
|
- apt install -y live-build binutils
|
||||||
|
- sed -i '1161s%umount%#umount%' /usr/share/debootstrap/functions
|
||||||
|
- lb clean --purge
|
||||||
|
- lb config
|
||||||
|
- lb build
|
||||||
|
- name: Create gitea-release
|
||||||
|
image: plugins/gitea-release
|
||||||
|
settings:
|
||||||
|
base_url: https://git.neulandlabor.de
|
||||||
|
api_key:
|
||||||
|
from_secret: lagertonne_gitea_api
|
||||||
|
files:
|
||||||
|
- live-image*
|
||||||
|
when:
|
||||||
|
event:
|
||||||
|
- tag
|
||||||
|
branch:
|
||||||
|
- master
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue