ci: add drone config
This commit is contained in:
parent
846edf52a1
commit
240c04e917
17
.drone.yml
Normal file
17
.drone.yml
Normal 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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue