Update WF

This commit is contained in:
2026-02-11 16:27:36 +05:30
parent c6355f5275
commit f304244618
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ jobs:
name: Parse Caddy version
id: version
run: |
VERSION=$(grep -Eo 'caddy:[0-9]+\.[0-9]+\.[0-9]+$' Dockerfile | cut -d ':' -f2)
VERSION=$(grep -m 1 -Eo 'caddy:[0-9]+\.[0-9]+\.[0-9]' Dockerfile | cut -d ':' -f2)
echo "version=$VERSION" >> $GITHUB_OUTPUT
echo "Version from file: $VERSION"

View File

@@ -1,8 +1,8 @@
FROM caddy:2.10.2-builder AS builder
FROM caddy:2.10.2-builder@sha256:23e70f63a88bacd9b0564d055eed5c25b98e90930876cca01aee1f5d1ae29748 AS builder
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare
FROM caddy:2.10.2
FROM caddy:2.10.2@sha256:f20f80e1fb627294fb84b8515b7593aff8018c840f1396dc942a50ed0c2db648
COPY --from=builder /usr/bin/caddy /usr/bin/caddy