This commit is contained in:
Dawid Wysokiński 2022-07-10 18:22:34 +02:00
commit 4ad4a917b8
Signed by: Kichiyaki
GPG Key ID: 1ECC5DE481BE5184
3 changed files with 28 additions and 0 deletions

19
.drone.yml Normal file
View File

@ -0,0 +1,19 @@
kind: pipeline
type: docker
name: Build
steps:
- name: publish
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: kichiyaki/caddy
auto_tag: true
dockerfile: Dockerfile
trigger:
event:
- tag

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.idea

8
Dockerfile Normal file
View File

@ -0,0 +1,8 @@
FROM caddy:2.5.1-builder AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare
FROM caddy:2.5.1
COPY --from=builder /usr/bin/caddy /usr/bin/caddy