lb-config/.drone.yml

40 lines
666 B
YAML
Raw Normal View History

2020-09-23 07:13:11 +00:00
---
kind: pipeline
type: docker
name: default
clone:
2020-09-23 07:22:20 +00:00
disable: true
2020-09-23 07:13:11 +00:00
steps:
- name: build_img
2020-09-23 07:22:20 +00:00
image: debian:buster
privileged: true
volumes:
- name: builds
path: /tl-builds
2020-09-23 17:33:48 +00:00
- name: proc
path: /proc
- name: pts
path: /dev/pts
2020-09-23 07:22:20 +00:00
commands:
2020-09-23 17:33:48 +00:00
- apt-get update
- apt-get install -y live-build
- apt-get install -y git
2020-09-23 07:22:20 +00:00
- lb config
- rm -r config
- git clone --recurse-submodules https://tildegit.org/tildelinux/lb-config config
- lb build
- mv live-image-amd64.img /tl-builds/tildelinux.img
2020-09-23 07:13:11 +00:00
volumes:
- name: builds
2020-09-23 07:22:20 +00:00
host:
path: /home/sose/tl-builds
2020-09-23 17:33:48 +00:00
- name: proc
host:
path: /proc
- name: pts
host:
path: /dev/pts