Skip to content

Commit 4b44f9b

Browse files
committed
fix: styles and add latest tag
1 parent ee0ae2b commit 4b44f9b

File tree

2 files changed

+16
-16
lines changed

2 files changed

+16
-16
lines changed

.github/workflows/docker.yaml

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,22 @@ jobs:
3838
with:
3939
context: .
4040
platforms: linux/amd64,linux/arm64
41-
# TODO: add latest tag
42-
tags: ${{ env.IMAGE_REPOSITORY }}:${{ env.TAG_PREFIX }}${{ steps.set-properties.outputs.VERSION }}, ${{ env.IMAGE_REPOSITORY }}:${{ env.TAG_PREFIX }}${{ steps.set-properties.outputs.VERSION }}-${{ steps.set-properties.outputs.DATE }}
41+
tags: ${{ env.IMAGE_REPOSITORY }}:latest, ${{ env.IMAGE_REPOSITORY }}:${{ env.TAG_PREFIX }}${{ steps.set-properties.outputs.VERSION }}, ${{ env.IMAGE_REPOSITORY }}:${{ env.TAG_PREFIX }}${{ steps.set-properties.outputs.VERSION }}-${{ steps.set-properties.outputs.DATE }}
4342
file: Dockerfile
4443
push: true
4544
build-args: |
4645
VERSION=${{ steps.set-properties.outputs.VERSION }}
47-
# - name: Create Issue
48-
# if: ${{ failure() }}
49-
# uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd
50-
# with:
51-
# labels: failed-release
52-
# title: Release Failure for Docker Image ${{ env.TAG_PREFIX }}${{ steps.set-properties.outputs.VERSION }}-${{ steps.set-properties.outputs.DATE }}
53-
# body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
54-
# TODO: enable before merging
46+
- uses: mongodb-js/devtools-shared/actions/setup-bot-token@main
47+
id: app-token
48+
if: ${{ failure() }}
49+
with:
50+
app-id: ${{ vars.DEVTOOLS_BOT_APP_ID }}
51+
private-key: ${{ secrets.DEVTOOLS_BOT_PRIVATE_KEY }}
52+
- name: Create Issue
53+
if: ${{ failure() }}
54+
uses: imjohnbo/issue-bot@572eed14422c4d6ca37e870f97e7da209422f5bd
55+
with:
56+
token: ${{ steps.app-token.outputs.token }}
57+
title: Release Failure for Docker Image ${{ env.TAG_PREFIX }}${{ steps.set-properties.outputs.VERSION }}-${{ steps.set-properties.outputs.DATE }}
58+
body: See https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
59+
labels: "docker, release_failure"

README.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,7 @@ Without options:
150150
"mcpServers": {
151151
"MongoDB": {
152152
"command": "docker",
153-
"args": [
154-
"run",
155-
"--rm",
156-
"-i",
157-
"mongodb/mongodb-mcp-server:latest"
158-
]
153+
"args": ["run", "--rm", "-i", "mongodb/mongodb-mcp-server:latest"]
159154
}
160155
}
161156
}

0 commit comments

Comments
 (0)