Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

perf(ci): image builds export no layer cache

Sidwebworks87e70aa386af
diff --git a/.github/workflows/build-images.yml b/.github/workflows/build-images.yml
index 3ee4175a65..d4d0eedacc 100644
--- a/.github/workflows/build-images.yml
+++ b/.github/workflows/build-images.yml
@@ -124,8 +124,6 @@ jobs:
tags: ${{ steps.plan.outputs.image }}:${{ github.sha }}
platforms: linux/amd64
provenance: false
- # In the registry beside the image, not GitHub's cache: that holds
- # 10 GB a repository, which five images outgrow. The ECR options
- # are what ECR needs to store a cache manifest.
- cache-from: type=registry,ref=${{ steps.plan.outputs.image }}:buildcache
- cache-to: type=registry,ref=${{ steps.plan.outputs.image }}:buildcache,mode=max,image-manifest=true,oci-mediatypes=true
+ # No layer cache. An image is only built when its files changed,
+ # which invalidates every layer after the base; exporting one took
+ # about 95 seconds a build and one trivial layer was ever reused.