|
9 | 9 | workflow_dispatch: |
10 | 10 |
|
11 | 11 | env: |
12 | | - IMAGE_NAME: secops-mcp-server |
| 12 | + IMAGE_NAME: mcp-server |
13 | 13 | REGISTRY: ghcr.io |
14 | 14 |
|
15 | 15 | jobs: |
@@ -108,11 +108,8 @@ jobs: |
108 | 108 | publish-helm-chart: |
109 | 109 | runs-on: ubuntu-latest |
110 | 110 | name: Publish Helm Chart |
111 | | - needs: [detect-changes, build-and-push-docker] |
112 | | - if: | |
113 | | - always() && |
114 | | - (github.event_name == 'push' && (github.ref_type == 'tag' || github.ref == 'refs/heads/main')) && |
115 | | - (needs.detect-changes.outputs.chart-changed == 'true' || github.ref_type == 'tag') |
| 111 | + needs: [ detect-changes, build-and-push-docker ] |
| 112 | + if: github.event_name == 'push' && (github.ref_type == 'tag' || github.ref == 'refs/heads/main') |
116 | 113 | permissions: |
117 | 114 | contents: read |
118 | 115 | packages: write |
@@ -168,14 +165,14 @@ jobs: |
168 | 165 | CHART_VERSION=$(grep "^version:" ./helm/mcp-server/Chart.yaml | cut -d' ' -f2 | tr -d '"') |
169 | 166 | echo "## ✅ Helm Chart Released" >> $GITHUB_STEP_SUMMARY |
170 | 167 | echo "" >> $GITHUB_STEP_SUMMARY |
171 | | - echo "Chart: gitguardian-secops-mcp-server" >> $GITHUB_STEP_SUMMARY |
| 168 | + echo "Chart: mcp-server" >> $GITHUB_STEP_SUMMARY |
172 | 169 | echo "Version: ${CHART_VERSION}" >> $GITHUB_STEP_SUMMARY |
173 | 170 | echo "" >> $GITHUB_STEP_SUMMARY |
174 | 171 | echo "Published to: \`oci://${{ env.REGISTRY }}/${{ github.repository_owner }}/helm-charts\`" >> $GITHUB_STEP_SUMMARY |
175 | 172 | echo "" >> $GITHUB_STEP_SUMMARY |
176 | 173 | echo "Install with:" >> $GITHUB_STEP_SUMMARY |
177 | 174 | echo '```bash' >> $GITHUB_STEP_SUMMARY |
178 | | - echo "helm pull oci://${{ env.REGISTRY }}/${{ github.repository_owner }}/helm-charts/gitguardian-secops-mcp-server --version ${CHART_VERSION}" >> $GITHUB_STEP_SUMMARY |
| 175 | + echo "helm pull oci://${{ env.REGISTRY }}/${{ github.repository_owner }}/helm-charts/mcp-server --version ${CHART_VERSION}" >> $GITHUB_STEP_SUMMARY |
179 | 176 | echo '```' >> $GITHUB_STEP_SUMMARY |
180 | 177 |
|
181 | 178 | publish-to-pypi: |
@@ -235,7 +232,7 @@ jobs: |
235 | 232 | publish-to-mcp-registry: |
236 | 233 | runs-on: ubuntu-latest |
237 | 234 | name: Publish to MCP Registry |
238 | | - needs: [publish-to-pypi] |
| 235 | + needs: [ publish-to-pypi ] |
239 | 236 | if: | |
240 | 237 | false && |
241 | 238 | always() && |
@@ -302,7 +299,7 @@ jobs: |
302 | 299 | create-github-release: |
303 | 300 | runs-on: ubuntu-latest |
304 | 301 | name: Create GitHub Release |
305 | | - needs: [publish-helm-chart, publish-to-pypi] |
| 302 | + needs: [ publish-helm-chart, publish-to-pypi ] |
306 | 303 | if: | |
307 | 304 | always() && |
308 | 305 | github.event_name == 'push' && |
|
0 commit comments