Skip to content

Commit ed0aeb0

Browse files
kgriteshclaude
andcommitted
ci(docker): set GHA cache scope to main for cross-tag cache hits
Tags resolve to different scope keys, causing cache misses on every release build. Hardcoding to main ensures the Docker layer cache is shared across all releases. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7f94680 commit ed0aeb0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
tags: |
4242
vertexcoverlabs/linkedin-mcp:${{ steps.tag_version.outputs.VERSION }}
4343
vertexcoverlabs/linkedin-mcp:latest
44-
cache-from: type=gha
45-
cache-to: type=gha,mode=max
44+
cache-from: type=gha,scope=main
45+
cache-to: type=gha,mode=max,scope=main
4646

4747
release:
4848
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)