mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-27 21:08:00 +00:00
fix(ci-image): include vendored tauri-cef in CI Docker build context
The root .dockerignore excludes `app/` (it's sized for the openhuman-core Dockerfile), which also excludes `app/src-tauri/vendor/tauri-cef`. The CI image Dockerfile at .github/Dockerfile needs that path to compile the CEF-aware tauri-cli, so the docker-ci-image workflow fails at the `COPY app/src-tauri/vendor/tauri-cef /opt/tauri-cef` step. BuildKit prefers `<dockerfile>.dockerignore` over the root one, so add a dedicated .github/Dockerfile.dockerignore that keeps the vendored submodule while still stripping target/, node_modules/, etc. Verified locally: `docker build -f .github/Dockerfile .` reaches the verify step with `cargo tauri --version` printing 2.10.1.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# BuildKit prefers <dockerfile>.dockerignore over root .dockerignore when
|
||||
# building this specific Dockerfile. The root .dockerignore excludes `app/`
|
||||
# (sized for the openhuman-core image), but the CI image needs the vendored
|
||||
# tauri-cef submodule to compile the CEF-aware tauri-cli.
|
||||
|
||||
# Build artifacts
|
||||
target/
|
||||
app/src-tauri/target/
|
||||
app/src-tauri/vendor/tauri-cef/target/
|
||||
|
||||
# Node / frontend (not needed for CI image)
|
||||
node_modules/
|
||||
app/node_modules/
|
||||
app/dist/
|
||||
app/.vite/
|
||||
|
||||
# IDE / editor
|
||||
.idea/
|
||||
.vscode/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
|
||||
# Git metadata (keep .gitmodules so submodule state is observable)
|
||||
.git/
|
||||
|
||||
# OS files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
# Environment / secrets
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
Reference in New Issue
Block a user