quark-build/.drone.yml

39 lines
859 B
YAML
Raw Permalink Normal View History

2020-08-18 20:30:33 +00:00
kind: pipeline
type: docker
2020-08-31 18:51:57 +00:00
name: dirl
2020-08-18 20:30:33 +00:00
steps:
- name: build
2020-08-30 18:04:18 +00:00
image: alpine
2020-08-18 20:30:33 +00:00
commands:
2020-08-30 18:04:18 +00:00
- apk update && apk add make git build-base linux-headers musl-dev
2020-08-30 17:10:52 +00:00
- git clone https://git.friedl.net/playground/suckless-quark.git
- cd suckless-quark
- git checkout dirlist
2020-08-18 20:30:33 +00:00
- make
2020-08-31 18:51:57 +00:00
- mv quark quark-dirl
2020-08-18 20:30:33 +00:00
2020-08-31 18:51:57 +00:00
- name: publish-dirl
2020-08-18 20:30:33 +00:00
image: appleboy/drone-scp
settings:
host: friedl.net
2020-08-31 18:51:57 +00:00
target: /var/services/dirlist/repo/bin/suckless/quark
source: suckless-quark/quark-dirl
strip_components: 1
2020-08-18 20:30:33 +00:00
username:
from_secret: ssh_username
password:
from_secret: ssh_password
- name: publish-container
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile
purge: true
repo: arminfriedl/quark
2020-08-31 18:51:57 +00:00
tags: dirl