fix: correct kaniko dockerfile path for docs image build
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
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 <noreply@anthropic.com>
This commit is contained in:
parent
7f0dd8cc8b
commit
be80fd2d4a
@ -132,7 +132,7 @@ steps:
|
|||||||
echo "==> No docs/build/ directory, skipping image build"
|
echo "==> No docs/build/ directory, skipping image build"
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
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:
|
when:
|
||||||
branch: main
|
branch: main
|
||||||
event: push
|
event: push
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user