File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 67
67
needs : [create-metadata]
68
68
if : ${{ needs.create-metadata.outputs.npm_packages != '[]' || needs.create-metadata.outputs.pypi_packages != '[]' }}
69
69
runs-on : ubuntu-latest
70
+ environment : release
70
71
outputs :
71
72
changes_made : ${{ steps.commit.outputs.changes_made }}
72
73
steps :
@@ -170,7 +171,7 @@ jobs:
170
171
working-directory : src/${{ matrix.package }}
171
172
run : |
172
173
VERSION=$(jq -r .version package.json)
173
- if npm view --json | jq --arg version "$VERSION" '[.[]][0].versions | contains([$version])'; then
174
+ if npm view --json | jq -e - -arg version "$VERSION" '[.[]][0].versions | contains([$version])'; then
174
175
echo "Version $VERSION already exists on npm"
175
176
exit 1
176
177
fi
@@ -210,3 +211,11 @@ jobs:
210
211
gh release create "$VERSION" \
211
212
--title "Release $VERSION" \
212
213
--notes-file RELEASE_NOTES.md
214
+
215
+ - name : Docker MCP images
216
+ uses : peter-evans/repository-dispatch@v3
217
+ with :
218
+ token : ${{ secrets.DOCKER_TOKEN }}
219
+ repository : docker/labs-ai-tools-for-devs
220
+ event-type : build-mcp-images
221
+ client-payload : ' {"ref": "${{ needs.create-metadata.outputs.version }}"}'
You can’t perform that action at this time.
0 commit comments