Initial custom image build
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
commit
46f375c560
|
@ -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
|
|
@ -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