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 .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,5 @@ jobs:
context: .
push: false
build-args: TOOLSET=${{ matrix.toolset }}
cache-from: type=gha,scope=mcp-${{ matrix.toolset }}
cache-to: type=gha,scope=mcp-${{ matrix.toolset }},mode=max
8 changes: 7 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ jobs:
push: true
build-args: TOOLSET=${{ matrix.toolset }}
tags: ${{ steps.image.outputs.repository }}:${{ github.sha }}
cache-from: type=gha,scope=mcp-${{ matrix.toolset }}
cache-to: type=gha,scope=mcp-${{ matrix.toolset }},mode=max
- name: Configure kubeconfig
run: |
mkdir -p ~/.kube
Expand Down Expand Up @@ -86,7 +88,9 @@ jobs:

index:
needs: detect
if: needs.detect.outputs.ingress == 'true'
# Skip no-op pushes (e.g. docs): the index image is built from shared code,
# and any shared-code change already selects all toolsets in detect.
if: needs.detect.outputs.ingress == 'true' && needs.detect.outputs.toolsets != '[]'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand All @@ -105,6 +109,8 @@ jobs:
push: true
build-args: TOOLSET=mcp-runtime
tags: ${{ steps.image.outputs.repository }}:${{ github.sha }}
cache-from: type=gha,scope=mcp-index
cache-to: type=gha,scope=mcp-index,mode=max
- name: Configure kubeconfig
run: |
mkdir -p ~/.kube
Expand Down
Loading