Skip to content

Commit b7dff08

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

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/docker-hub.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
name: Build and push
3737
uses: docker/build-push-action@v6
3838
with:
39+
push: true
3940
context: .
4041
target: backend-production
4142
build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
@@ -67,6 +68,7 @@ jobs:
6768
name: Build and push
6869
uses: docker/build-push-action@v6
6970
with:
71+
push: true
7072
context: .
7173
file: ./src/frontend/Dockerfile
7274
target: frontend-production
@@ -101,13 +103,37 @@ jobs:
101103
name: Build and push
102104
uses: docker/build-push-action@v6
103105
with:
106+
push: true
104107
context: .
105108
file: ./src/frontend/servers/y-provider/Dockerfile
106109
target: y-provider
107110
build-args: DOCKER_USER=${{ env.DOCKER_USER }}:-1000
108111
tags: ${{ steps.meta.outputs.tags }}
109112
labels: ${{ steps.meta.outputs.labels }}
110113

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

0 commit comments

Comments
 (0)