Initial custom image build
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:
commit
46f375c560
24
.drone.yml
Normal file
24
.drone.yml
Normal 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
9
Dockerfile
Normal 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
|
Loading…
Reference in New Issue
Block a user