fix: use KUBECONFIG or explicitly given kubeconfig file (#67) #34
Workflow file for this run
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | name: Release | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| concurrency: | |
| # Only run once for latest commit per ref and cancel other (previous) runs. | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| GO_VERSION: 1.23 | |
| NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| UV_PUBLISH_TOKEN: ${{ secrets.UV_PUBLISH_TOKEN }} | |
| permissions: | |
| contents: write | |
| discussions: write | |
| jobs: | |
| release: | |
| name: Release | |
| runs-on: macos-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ env.GO_VERSION }} | |
| - name: Build | |
| run: make build-all-platforms | |
| - name: Upload artifacts | |
| uses: softprops/action-gh-release@v2 | |
| with: | |
| generate_release_notes: true | |
| make_latest: true | |
| files: | | |
| LICENSE | |
| kubernetes-mcp-server-* | |
| - name: Publish npm | |
| run: | |
| make npm-publish | |
| python: | |
| name: Release Python | |
| # Python logic requires the tag/release version to be available from GitHub | |
| needs: release | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - uses: astral-sh/setup-uv@v5 | |
| - name: Publish Python | |
| run: | |
| make python-publish |