Skip to content

Commit 3deba43

Browse files
committed
initial commit of mcp builds
Signed-off-by: Ryan Cook <rcook@redhat.com>
1 parent ca1b238 commit 3deba43

1 file changed

Lines changed: 84 additions & 0 deletions

File tree

.github/workflows/mcp-builds.yaml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
name: MCP builds
2+
on:
3+
push:
4+
branches: [ main ]
5+
pull_request:
6+
branches: [ main ]
7+
workflow_dispatch:
8+
9+
jobs:
10+
ansible:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: login to quay.io
17+
uses: docker/login-action@v3
18+
with:
19+
registry: quay.io
20+
username: ${{ secrets.QUAY_USERNAME }}
21+
password: ${{ secrets.QUAY_PASSWORD }}
22+
23+
- name: build and push the ansible mcp server
24+
run: |
25+
cd mpc-servers/ansible
26+
podman build -t quay.io/redhat-et/mcp-ansible:latest .
27+
podman push quay.io/redhat-et/mcp-ansible:latest
28+
29+
custom:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout code
33+
uses: actions/checkout@v4
34+
35+
- name: login to quay.io
36+
uses: docker/login-action@v3
37+
with:
38+
registry: quay.io
39+
username: ${{ secrets.QUAY_USERNAME }}
40+
password: ${{ secrets.QUAY_PASSWORD }}
41+
42+
- name: build and push the custom mcp server
43+
run: |
44+
cd mpc-servers/custom
45+
podman build -t quay.io/redhat-et/mcp-custom:latest .
46+
podman push quay.io/redhat-et/mcp-custom:latest
47+
48+
github:
49+
runs-on: ubuntu-latest
50+
steps:
51+
- name: Checkout code
52+
uses: actions/checkout@v4
53+
54+
- name: login to quay.io
55+
uses: docker/login-action@v3
56+
with:
57+
registry: quay.io
58+
username: ${{ secrets.QUAY_USERNAME }}
59+
password: ${{ secrets.QUAY_PASSWORD }}
60+
61+
- name: build and push the github mcp server
62+
run: |
63+
cd mpc-servers/github
64+
podman build -t quay.io/redhat-et/mcp-github:latest .
65+
podman push quay.io/redhat-et/mcp-github:latest
66+
67+
llamastack:
68+
runs-on: ubuntu-latest
69+
steps:
70+
- name: Checkout code
71+
uses: actions/checkout@v4
72+
73+
- name: login to quay.io
74+
uses: docker/login-action@v3
75+
with:
76+
registry: quay.io
77+
username: ${{ secrets.QUAY_USERNAME }}
78+
password: ${{ secrets.QUAY_PASSWORD }}
79+
80+
- name: build and push the llamastack mcp server
81+
run: |
82+
cd mpc-servers/llamastack
83+
podman build -t quay.io/redhat-et/mcp-llamastack:latest .
84+
podman push quay.io/redhat-et/mcp-llamastack:latest

0 commit comments

Comments
 (0)