ci: add drone config

This commit is contained in:
Viktor Varland 2023-04-21 07:56:45 +02:00
parent 846edf52a1
commit 240c04e917
Signed by: varl
GPG key ID: 7459F0B410115EE8
2 changed files with 22 additions and 2 deletions

17
.drone.yml Normal file
View file

@ -0,0 +1,17 @@
---
kind: pipeline
type: docker
name: caddy-build-deploy
steps:
- name: podman-build
image:
volumes:
- name: docker-sock
path: /run/podman/podman.sock
commands:
- podman build -t registry.meatbag.se/meatbag/murmur .
trigger:
branch:
- master

View file

@ -1,9 +1,12 @@
FROM caddy:2.6-builder AS builder
FROM caddy:2.6.4-builder AS builder
#
## build with additional plugins
#
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare \
--with github.com/mholt/caddy-dynamicdns
FROM caddy:2.6
FROM caddy:2.6.4
COPY --from=builder /usr/bin/caddy /usr/bin/caddy