From c32263ffff0968e6b0706dc7d69e146e97c18d34 Mon Sep 17 00:00:00 2001 From: Opnxng Date: Wed, 13 Dec 2023 02:29:46 +0800 Subject: [PATCH] Updated Caddy version --- .gitea/workflows/binternet.yaml | 2 +- .gitea/workflows/caddy.yaml | 2 +- dockerfiles/caddy.Dockerfile | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/binternet.yaml b/.gitea/workflows/binternet.yaml index 3defffd..69da30d 100644 --- a/.gitea/workflows/binternet.yaml +++ b/.gitea/workflows/binternet.yaml @@ -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) echo "STORED_COMMIT=${STORED_COMMIT}" >> "$GITHUB_ENV" exit 1 - fi \ No newline at end of file + fi diff --git a/.gitea/workflows/caddy.yaml b/.gitea/workflows/caddy.yaml index 4c55bbb..9e3bfc1 100644 --- a/.gitea/workflows/caddy.yaml +++ b/.gitea/workflows/caddy.yaml @@ -10,7 +10,7 @@ on: - ".gitea/workflows/caddy.yaml" - "dockerfiles/caddy.Dockerfile" schedule: - - cron: "0 0 1 * *" # monthly + - cron: "0 0 * * 1" # weekly jobs: build: diff --git a/dockerfiles/caddy.Dockerfile b/dockerfiles/caddy.Dockerfile index 33a9295..7b33aec 100755 --- a/dockerfiles/caddy.Dockerfile +++ b/dockerfiles/caddy.Dockerfile @@ -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 \ --with github.com/caddy-dns/cloudflare \ --with github.com/RussellLuo/caddy-ext/ratelimit \ --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 \ No newline at end of file +COPY --from=builder /usr/bin/caddy /usr/bin/caddy