From be80fd2d4a07e8cb6e1d74e48c802c2aa00b5a9f Mon Sep 17 00:00:00 2001 From: jordan Date: Sat, 7 Feb 2026 17:35:54 -0700 Subject: [PATCH] fix: correct kaniko dockerfile path for docs image build When --context=docs is set, the --dockerfile path should be relative to the context directory. Changed from docs/Dockerfile.nginx to Dockerfile.nginx since kaniko already looks in the docs/ directory. 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 7f8a7cc..e5e3e0a 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=docs/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 --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