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
{{ message }}
Repository navigation
Commit de4e8a4
Browse filesBrowse the repository at this point in the historyBrowse files
ci: cache Go and image layers in the connectors preview build
The preview build compiled javo for amd64 and arm64 from an empty Go
cache (about 5 minutes) and rebuilt every image stage. Now:
- Go's build and module caches are restored before the compile, keyed on
Go version, go.mod/go.sum and the week, falling back to older weeks and
to main's go-cross cache, and saved when the key was not an exact hit.
- The Go tarball is cached; its sha256 is checked either way.
- javo compiles for amd64 only (cross-build-javo.sh takes JAVO_ARCHES):
the image is linux/amd64 and never used the arm64 binaries.
- BuildKit keeps every stage's layers in the Actions cache (mode=max),
scoped per branch. No cross-branch fallback: a branch can read only its
own and main's caches, and main does not build this image.
- The concurrency group is per branch, so a push no longer cancels
another branch's build.
- ci-fast-preview-image builds too, to measure the cached build.
Build flags and the Dockerfile are unchanged.
0 commit comments