Compare commits
18 Commits
7c000a15d4
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 50df5b0c9c | |||
|
|
807d6e730f | ||
| 01398d97ce | |||
|
|
10d32f0238 | ||
| 15acefd0ad | |||
|
|
b92a44b05a | ||
| 545da65e7f | |||
|
|
bed3cc1264 | ||
| 98d9673d17 | |||
|
|
94fa97a162 | ||
| a6c3c1509a | |||
|
|
9061055429 | ||
|
372503a301
|
|||
|
af39f2681e
|
|||
| fdf5e60f70 | |||
|
|
b36410c56f | ||
|
8f3803caf1
|
|||
|
b3d481a273
|
@@ -11,7 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container: catthehacker/ubuntu:act-latest
|
container: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v6
|
||||||
|
|
||||||
- name: Login to Docker registry
|
- name: Login to Docker registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
uses: docker/setup-buildx-action@v3
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
|
|||||||
13
Dockerfile
13
Dockerfile
@@ -1,10 +1,15 @@
|
|||||||
FROM caddy:2 AS base
|
FROM caddy:2.10.2 AS base
|
||||||
|
|
||||||
FROM caddy:2-builder AS caddybuild
|
FROM caddy:2.10.2-builder-alpine AS caddybuild
|
||||||
RUN xcaddy build \
|
RUN xcaddy build \
|
||||||
--with github.com/greenpau/caddy-security \
|
--with github.com/greenpau/caddy-security \
|
||||||
--with github.com/lucaslorentz/caddy-docker-proxy/v2 \
|
--with github.com/lucaslorentz/caddy-docker-proxy/v2 \
|
||||||
--with github.com/caddyserver/replace-response
|
--with github.com/caddyserver/replace-response \
|
||||||
|
--with github.com/caddy-dns/cloudflare
|
||||||
|
|
||||||
FROM base AS final
|
FROM base AS final
|
||||||
COPY --from=caddybuild /usr/bin/caddy /usr/bin/caddy
|
COPY --from=caddybuild /usr/bin/caddy /usr/bin/caddy
|
||||||
|
|
||||||
|
ENTRYPOINT ["/usr/bin/caddy"]
|
||||||
|
|
||||||
|
CMD ["docker-proxy"]
|
||||||
Reference in New Issue
Block a user