Armin Friedl
c1284e3f98
All checks were successful
continuous-integration/drone/push Build is passing
36 lines
804 B
YAML
36 lines
804 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build
|
|
image: alpine
|
|
commands:
|
|
- apk update && apk add make git build-base linux-headers musl-dev
|
|
- git clone https://git.friedl.net/playground/suckless-quark.git
|
|
- cd suckless-quark
|
|
- git checkout dirlist
|
|
- make
|
|
|
|
- name: publish-quark
|
|
image: appleboy/drone-scp
|
|
settings:
|
|
host: friedl.net
|
|
target: /var/services/dirlist/repo/bin/suckless
|
|
source: suckless-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
|