fix: use plugin-kaniko for docs image build
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

The raw gcr.io/kaniko-project/executor with commands: doesn't work
properly in Woodpecker. Switch to woodpeckerci/plugin-kaniko with
settings: to match other component builds.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
jordan 2026-02-07 18:08:31 -07:00
parent bed72961fe
commit 2a25a161cb

View File

@ -124,15 +124,18 @@ steps:
# Build and push docs-nginx image (skipped if no docs build output) # Build and push docs-nginx image (skipped if no docs build output)
build-docs-image: build-docs-image:
image: gcr.io/kaniko-project/executor:latest
depends_on: [build-docs] depends_on: [build-docs]
commands: image: woodpeckerci/plugin-kaniko
- | settings:
if [ ! -d "docs/build" ]; then registry: registry.threesix.ai
echo "==> No docs/build/ directory, skipping image build" repo: {{PROJECT_NAME}}-docs
exit 0 tags:
fi - latest
- /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} - ${CI_COMMIT_SHA:0:8}
context: docs
dockerfile: docs/Dockerfile.nginx
cache: true
skip-tls-verify: true
when: when:
branch: main branch: main
event: push event: push