0
0

Updated Caddy version
Some checks failed
binternet / build (push) Failing after 4s
caddy / build (push) Successful in 7m51s

This commit is contained in:
Opnxng 2023-12-13 02:29:46 +08:00
parent c684f1a3c0
commit c32263ffff
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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:

View File

@ -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