You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mirror Metabase's release pipeline for Docker publishing
Build the uberjar outside Docker using GHA-level dep caching
(M2 and node_modules), then package with the thin bin/docker/Dockerfile
runner image. Caches are keyed on deps.edn and bun.lock hashes so they
invalidate exactly when deps change rather than on every source file
change, reducing warm-cache build time from ~90 to ~20-30 minutes.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README-TEAL.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,7 +74,7 @@ Merges the latest upstream release tag into this fork's `master` daily, keeping
74
74
75
75
### Docker Publishing — `teal-docker-publish.yml`
76
76
77
-
Builds the Metabase OSS image from the root `Dockerfile` and publishes it to the GitHub Container Registry (GHCR).
77
+
Builds the Metabase OSS uberjar outside of Docker (mirroring Metabase's own release pipeline), then packages it into the thin `bin/docker/Dockerfile`runner image and publishes to the GitHub Container Registry (GHCR).
@@ -86,4 +86,4 @@ docker pull ghcr.io/decode-development/metabase-teal:v0.61.2 # specific version
86
86
- Merge of a `sync/upstream-*` PR into master (conflict-resolution path)
87
87
- Manual dispatch — accepts an optional version tag, defaults to the current latest upstream release
88
88
89
-
> **Note:**The build compiles the full frontend and backend from source and takes approximately 60–90 minutes on a standard GitHub-hosted runner. Layer caching (`type=gha`) reduces this significantly on subsequent builds.
89
+
**Caching:**Maven/Clojure (`~/.m2`) and Node (`node_modules`) dependencies are cached at the GitHub Actions level, keyed on `deps.edn` and `bun.lock` hashes. A warm cache reduces build time from ~90 minutes to ~20–30 minutes.
0 commit comments