{"id":44288144,"url":"https://github.com/boringcache/docker-action","last_synced_at":"2026-03-11T13:25:48.654Z","repository":{"id":336419928,"uuid":"1132835074","full_name":"boringcache/docker-action","owner":"boringcache","description":"Cache Docker BuildKit layers with BoringCache via OCI registry proxy.","archived":false,"fork":false,"pushed_at":"2026-02-20T22:05:34.000Z","size":1409,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-21T03:45:06.108Z","etag":null,"topics":["caching","ci","cicd","dependency-management","github-actions","utilities"],"latest_commit_sha":null,"homepage":"https://boringcache.com","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/boringcache.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-01-12T14:14:47.000Z","updated_at":"2026-02-20T22:05:36.000Z","dependencies_parsed_at":"2026-02-21T00:01:53.254Z","dependency_job_id":null,"html_url":"https://github.com/boringcache/docker-action","commit_stats":null,"previous_names":["boringcache/docker-action"],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/boringcache/docker-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boringcache%2Fdocker-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boringcache%2Fdocker-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boringcache%2Fdocker-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boringcache%2Fdocker-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boringcache","download_url":"https://codeload.github.com/boringcache/docker-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boringcache%2Fdocker-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29786978,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-24T10:45:18.109Z","status":"ssl_error","status_checked_at":"2026-02-24T10:45:09.911Z","response_time":75,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["caching","ci","cicd","dependency-management","github-actions","utilities"],"created_at":"2026-02-10T23:07:26.188Z","updated_at":"2026-03-11T13:25:48.648Z","avatar_url":"https://github.com/boringcache.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# boringcache/docker-action\n\nBuild Docker images with BuildKit cache backed by BoringCache.\n\nBy default this action runs a local OCI registry proxy, so BuildKit restores layers lazily instead of downloading the whole cache upfront.\n\n## Quick start\n\n```yaml\n- uses: boringcache/docker-action@v1\n  with:\n    workspace: my-org/my-project\n    image: ghcr.io/${{ github.repository }}\n    tags: latest,${{ github.sha }}\n  env:\n    BORINGCACHE_SAVE_TOKEN: ${{ secrets.BORINGCACHE_SAVE_TOKEN }}\n```\n\n## Restore-only pull requests\n\nThe default `cache-backend: registry` path still needs a save-capable token today. For restore-only PR jobs, switch to `cache-backend: local` and use split tokens:\n\n```yaml\n- uses: boringcache/docker-action@v1\n  with:\n    workspace: my-org/my-project\n    image: ghcr.io/${{ github.repository }}\n    cache-backend: local\n  env:\n    BORINGCACHE_RESTORE_TOKEN: ${{ secrets.BORINGCACHE_RESTORE_TOKEN }}\n    BORINGCACHE_SAVE_TOKEN: ${{ github.event_name == 'pull_request' \u0026\u0026 '' || secrets.BORINGCACHE_SAVE_TOKEN }}\n```\n\n## Key inputs\n\n| Input | Description |\n|-------|-------------|\n| `image` | Image name to build. |\n| `workspace` | Workspace in `org/repo` form. Defaults to the repo name. |\n| `tags` | Image tags. |\n| `push` / `load` | Push to a registry or load into the local daemon. |\n| `cache-backend` | `registry` for lazy proxy mode or `local` for explicit restore/save mode. |\n| `cache-tag` | Override the cache tag derived from the image name. |\n| `platforms` | Multi-platform build targets. |\n| `build-args`, `secrets`, `target` | Common BuildKit build inputs. |\n\n## Outputs\n\n| Output | Description |\n|--------|-------------|\n| `image-id` | Built image ID. |\n| `digest` | Built image digest. |\n| `buildx-name` | Builder name. |\n| `buildx-platforms` | Platforms supported by the builder. |\n\n## Docs\n\n- [GitHub Actions docs](https://boringcache.com/docs#docker-action)\n- [GitHub Actions auth and trust model](https://boringcache.com/docs#actions-auth)\n- [Native proxy integrations](https://boringcache.com/docs#cli-cache-registry)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboringcache%2Fdocker-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboringcache%2Fdocker-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboringcache%2Fdocker-action/lists"}