Initial custom image build
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Tyler 2022-11-12 00:18:59 -05:00
commit 46f375c560
2 changed files with 33 additions and 0 deletions

24
.drone.yml Normal file
View File

@ -0,0 +1,24 @@
kind: pipeline
name: amd64
type: docker
platform:
os: linux
arch: amd64
steps:
- name: docker
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
repo: registry.meow.tf/tyler/caddy-custom
registry: registry.meow.tf
tags:
- latest
when:
branch:
include:
- master

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM caddy:builder-alpine AS builder
RUN xcaddy build \
--with github.com/greenpau/caddy-security@v1.1.16 \
--with github.com/greenpau/caddy-trace@v1.1.10
FROM caddy:alpine
COPY --from=builder /usr/bin/caddy /usr/bin/caddy