From bed72961febf9444277a25c938775f0f0fda21bc Mon Sep 17 00:00:00 2001 From: jordan Date: Sat, 7 Feb 2026 17:50:38 -0700 Subject: [PATCH] fix: add --insecure flag to kaniko for docs image build The registry.threesix.ai uses a self-signed certificate. Service builds use plugin-kaniko with skip-tls-verify, but docs build used raw kaniko executor without TLS bypass, causing exit 128. Co-Authored-By: Claude Opus 4.5 --- .../adapter/templates/templates/skeleton/.woodpecker.yml.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/adapter/templates/templates/skeleton/.woodpecker.yml.tmpl b/internal/adapter/templates/templates/skeleton/.woodpecker.yml.tmpl index e5e3e0a..f843a77 100644 --- a/internal/adapter/templates/templates/skeleton/.woodpecker.yml.tmpl +++ b/internal/adapter/templates/templates/skeleton/.woodpecker.yml.tmpl @@ -132,7 +132,7 @@ steps: echo "==> No docs/build/ directory, skipping image build" exit 0 fi - - /kaniko/executor --dockerfile=Dockerfile.nginx --context=docs --destination=registry.threesix.ai/{{PROJECT_NAME}}-docs:latest --destination=registry.threesix.ai/{{PROJECT_NAME}}-docs:${CI_COMMIT_SHA:0:8} + - /kaniko/executor --dockerfile=Dockerfile.nginx --context=docs --insecure --destination=registry.threesix.ai/{{PROJECT_NAME}}-docs:latest --destination=registry.threesix.ai/{{PROJECT_NAME}}-docs:${CI_COMMIT_SHA:0:8} when: branch: main event: push