mirror of
https://github.com/screentinker/screentinker.git
synced 2026-06-15 02:33:15 -06:00
- .github/workflows/release.yml: on a v* tag - verify the tag matches VERSION (fail-fast guard), run tests, build a source tarball + the unsigned Tizen .wgt and publish a GitHub Release with generated notes, and build+push a multi-arch (amd64 + arm64) image to ghcr.io/screentinker/screentinker:<version> + :latest. The Release (artifacts) and the docker push are independent jobs, so an arm64/QEMU docker failure does not block the GitHub Release and is re-runnable. Nothing deploys to prod. APK-build-in-CI left as a TODO (keystore secret). - Dockerfile + .dockerignore: multi-stage node:20-slim image with server + frontend + VERSION + scripts; DATA_DIR=/data volume for db/uploads/jwt-secret. Verified to build, boot, serve the dashboard + web player, and persist state. - docker-compose.example.yml: /data volume, SELF_HOSTED, a node-fetch healthcheck against /api/status, and an admin-lockout recovery note (reset-admin.js). - server.js: resolve the OTA APK from DATA_DIR first (a container can mount one at /data/ScreenTinker.apk), fall back to the legacy in-repo path, 404 gracefully. - ci.yml: bump checkout/setup-node to v6 (clears the Node-20 action deprecation). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
39 lines
654 B
Plaintext
39 lines
654 B
Plaintext
# git + CI
|
|
.git
|
|
.github
|
|
.gitignore
|
|
|
|
# deps - reinstalled fresh in the build
|
|
node_modules
|
|
**/node_modules
|
|
|
|
# mutable state (lives on the /data volume, never baked into the image).
|
|
# Note: the *.db* patterns drop the database FILES; we must NOT exclude the
|
|
# server/db/ directory itself - it holds database.js + schema.sql.
|
|
*.db
|
|
*.db-wal
|
|
*.db-shm
|
|
*.db.*
|
|
server/uploads
|
|
server/certs
|
|
|
|
# secrets
|
|
.env
|
|
**/.env
|
|
|
|
# not needed at runtime (NOTE: scripts/ IS needed - database.js requires
|
|
# scripts/migrate-multitenancy at boot - so it must stay in the image)
|
|
server/test
|
|
android
|
|
tizen
|
|
video
|
|
*.apk
|
|
*.wgt
|
|
*.tar.gz
|
|
|
|
# docs / editor cruft
|
|
*.md
|
|
.vscode
|
|
.idea
|
|
.DS_Store
|