37 lines
803 B
YAML
37 lines
803 B
YAML
|
kind: pipeline
|
||
|
type: docker
|
||
|
name: default
|
||
|
|
||
|
steps:
|
||
|
- name: build
|
||
|
image: gcc
|
||
|
commands:
|
||
|
- git clone https://git.suckless.org/quark
|
||
|
- cd quark
|
||
|
- curl -o patch.diff https://dirlist.friedl.net/suckless/quark/quark-resourcedepletion-17082020-6606994.diff
|
||
|
- git apply patch.diff
|
||
|
- make
|
||
|
|
||
|
- name: publish-quark
|
||
|
image: appleboy/drone-scp
|
||
|
settings:
|
||
|
host: friedl.net
|
||
|
target: /var/services/dirlist/repo/bin/suckless
|
||
|
source: quark/quark
|
||
|
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
|
||
|
tags: latest
|