From 7763facb1194fa2bb712b5ac3c1a7239d1b32036 Mon Sep 17 00:00:00 2001 From: disinto-admin Date: Mon, 20 Apr 2026 08:10:58 +0000 Subject: [PATCH] fix: add curl to apk install in caddy-validate step MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The step runs `curl -sS -o /tmp/caddy ...` to download the caddy binary but only installs ca-certificates. curl is not in alpine:3.19 base image. Adding curl to the apk add line so the download actually runs. Fixes edge-subpath/caddy-validate exit 127 (command not found) on pipelines targeting fix/issue-1025-3 — see #1025. --- .woodpecker/edge-subpath.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker/edge-subpath.yml b/.woodpecker/edge-subpath.yml index e8fa941..9d5303c 100644 --- a/.woodpecker/edge-subpath.yml +++ b/.woodpecker/edge-subpath.yml @@ -103,7 +103,7 @@ steps: - name: caddy-validate image: alpine:3.19 commands: - - apk add --no-cache ca-certificates + - apk add --no-cache ca-certificates curl - curl -sS -o /tmp/caddy "https://caddyserver.com/api/download?os=linux&arch=amd64" - chmod +x /tmp/caddy - /tmp/caddy version