Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/decisions/2026-05-24-docker-npm-cache-key-strategy.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ The GHA workflow also uses `type=gha,mode=max` for Docker layer caching. When `t
Use the lockfile hash as the BuildKit npm mount cache key, passed from the workflow as a build arg:

**Dockerfile:**

```dockerfile
ARG NPM_CACHE_KEY=v1
...
Expand All @@ -33,6 +34,7 @@ RUN --mount=type=cache,id=npm-deps-production-${NPM_CACHE_KEY},...
```

**docker-publish.yml:**

```yaml
build-args: |
COMMIT_SHA=${{ github.sha }}
Expand Down
Loading
Loading