Updated Caddy version
This commit is contained in:
parent
c684f1a3c0
commit
c32263ffff
@ -69,4 +69,4 @@ jobs:
|
|||||||
STORED_COMMIT=$(curl -H "Authorization: Bearer ${{ secrets.NT }}" -s "https://nt.opnxng.com/${REPO_NAME}/raw?poll=1" | tail -n 1)
|
STORED_COMMIT=$(curl -H "Authorization: Bearer ${{ secrets.NT }}" -s "https://nt.opnxng.com/${REPO_NAME}/raw?poll=1" | tail -n 1)
|
||||||
echo "STORED_COMMIT=${STORED_COMMIT}" >> "$GITHUB_ENV"
|
echo "STORED_COMMIT=${STORED_COMMIT}" >> "$GITHUB_ENV"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
@ -10,7 +10,7 @@ on:
|
|||||||
- ".gitea/workflows/caddy.yaml"
|
- ".gitea/workflows/caddy.yaml"
|
||||||
- "dockerfiles/caddy.Dockerfile"
|
- "dockerfiles/caddy.Dockerfile"
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 1 * *" # monthly
|
- cron: "0 0 * * 1" # weekly
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
FROM caddy:2.7.5-builder-alpine AS builder
|
FROM caddy:2.7.6-builder-alpine AS builder
|
||||||
|
|
||||||
RUN xcaddy build \
|
RUN xcaddy build \
|
||||||
--with github.com/caddy-dns/cloudflare \
|
--with github.com/caddy-dns/cloudflare \
|
||||||
--with github.com/RussellLuo/caddy-ext/ratelimit \
|
--with github.com/RussellLuo/caddy-ext/ratelimit \
|
||||||
--with github.com/porech/caddy-maxmind-geolocation
|
--with github.com/porech/caddy-maxmind-geolocation
|
||||||
|
|
||||||
FROM caddy:2.7.5
|
FROM caddy:2.7.6
|
||||||
|
|
||||||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||||||
|
Loading…
Reference in New Issue
Block a user