Build separate dirl binary
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
1fba927acb
commit
a35d80124a
2 changed files with 9 additions and 7 deletions
12
.drone.yml
12
.drone.yml
|
@ -1,6 +1,6 @@
|
|||
kind: pipeline
|
||||
type: docker
|
||||
name: default
|
||||
name: dirl
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
|
@ -11,13 +11,15 @@ steps:
|
|||
- cd suckless-quark
|
||||
- git checkout dirlist
|
||||
- make
|
||||
- mv quark quark-dirl
|
||||
|
||||
- name: publish-quark
|
||||
- name: publish-dirl
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
host: friedl.net
|
||||
target: /var/services/dirlist/repo/bin/suckless
|
||||
source: suckless-quark/quark
|
||||
target: /var/services/dirlist/repo/bin/suckless/quark
|
||||
source: suckless-quark/quark-dirl
|
||||
strip_components: 1
|
||||
username:
|
||||
from_secret: ssh_username
|
||||
password:
|
||||
|
@ -33,4 +35,4 @@ steps:
|
|||
dockerfile: Dockerfile
|
||||
purge: true
|
||||
repo: arminfriedl/quark
|
||||
tags: latest
|
||||
tags: dirl
|
||||
|
|
|
@ -4,6 +4,6 @@ RUN adduser web --disabled-password --no-create-home --shell /sbin/nologin && \
|
|||
addgroup web web && \
|
||||
mkdir -p /var/www/html
|
||||
|
||||
COPY suckless-quark/quark /usr/local/bin
|
||||
COPY suckless-quark/quark-dirl /usr/local/bin
|
||||
|
||||
ENTRYPOINT ["quark", "-p", "80", "-u", "web", "-g", "web", "-n", "4096", "-h", "0.0.0.0", "-l", "-d", "/var/www/html"]
|
||||
ENTRYPOINT ["quark-dirl", "-p", "80", "-u", "web", "-g", "web", "-n", "4096", "-h", "0.0.0.0", "-l", "-d", "/var/www/html"]
|
||||
|
|
Loading…
Reference in a new issue