Skip to content

Commit 15b91ad

Browse files
committed
👷(hackdays) publish the MCP docker image
Publish the MCP Docker image on our registry.
1 parent a4d13d0 commit 15b91ad

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/docker-hub.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,28 @@ jobs:
108108
tags: ${{ steps.meta.outputs.tags }}
109109
labels: ${{ steps.meta.outputs.labels }}
110110

111+
build-and-push-mcp-server:
112+
runs-on: ubuntu-latest
113+
steps:
114+
- name: Checkout repository
115+
uses: actions/checkout@v4
116+
- name: Docker meta
117+
id: meta
118+
uses: docker/metadata-action@v5
119+
with:
120+
images: lasuite/impress-mcp-server
121+
- name: Login to DockerHub
122+
run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USER }}" --password-stdin
123+
- name: Build and push
124+
uses: docker/build-push-action@v6
125+
with:
126+
context: ./src/mcp_server
127+
file: ./src/mcp_server/Dockerfile
128+
build-args: |
129+
DOCKER_USER=${{ env.DOCKER_USER }}:-1000
130+
tags: ${{ steps.meta.outputs.tags }}
131+
labels: ${{ steps.meta.outputs.labels }}
132+
111133
notify-argocd:
112134
needs:
113135
- build-and-push-frontend

0 commit comments

Comments
 (0)