feat: add caddy-git plugin
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m5s
All checks were successful
Build and Push Docker Image / build (push) Successful in 1m5s
This commit is contained in:
parent
84a9714379
commit
4066f53d6d
@ -9,7 +9,7 @@ for dir in builds/*/ ; do
|
||||
folder_name=$(basename $dir)
|
||||
|
||||
# Build the Docker image
|
||||
docker build --platform linux/amd64 -t caddy-$folder_name $dir
|
||||
docker build --platform linux/amd64,linux/arm64 -t caddy-$folder_name $dir
|
||||
|
||||
# Tag the Docker image for pushing to the repository
|
||||
docker tag caddy-$folder_name linloir/caddy-$folder_name
|
||||
|
||||
11
builds/git-dns/Dockerfile
Normal file
11
builds/git-dns/Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM caddy:builder AS builder
|
||||
|
||||
RUN xcaddy build \
|
||||
--with github.com/caddy-dns/cloudflare \
|
||||
--with github.com/caddy-dns/dnspod \
|
||||
--with github.com/caddy-dns/alidns \
|
||||
--with github.com/greenpau/caddy-git
|
||||
|
||||
FROM caddy:latest
|
||||
|
||||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||||
Loading…
x
Reference in New Issue
Block a user