Skip to content

Commit dbc78c8

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

1 file changed

Lines changed: 68 additions & 0 deletions

File tree

.github/workflows/mcp-builds.yaml

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
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+
environment: ci
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
17+
- name: login to quay.io
18+
uses: docker/login-action@v3
19+
with:
20+
registry: quay.io
21+
username: ${{ secrets.QUAY_USERNAME }}
22+
password: ${{ secrets.QUAY_PASSWORD }}
23+
24+
- name: build and push the ansible mcp server
25+
run: |
26+
cd mcp-servers/ansible
27+
podman build -t quay.io/redhat-et/mcp-ansible:latest .
28+
podman push quay.io/redhat-et/mcp-ansible:latest
29+
30+
custom:
31+
runs-on: ubuntu-latest
32+
environment: ci
33+
steps:
34+
- name: Checkout code
35+
uses: actions/checkout@v4
36+
37+
- name: login to quay.io
38+
uses: docker/login-action@v3
39+
with:
40+
registry: quay.io
41+
username: ${{ secrets.QUAY_USERNAME }}
42+
password: ${{ secrets.QUAY_PASSWORD }}
43+
44+
- name: build and push the custom mcp server
45+
run: |
46+
cd mcp-servers/custom
47+
podman build -t quay.io/redhat-et/mcp-custom:latest .
48+
podman push quay.io/redhat-et/mcp-custom:latest
49+
50+
github:
51+
runs-on: ubuntu-latest
52+
environment: ci
53+
steps:
54+
- name: Checkout code
55+
uses: actions/checkout@v4
56+
57+
- name: login to quay.io
58+
uses: docker/login-action@v3
59+
with:
60+
registry: quay.io
61+
username: ${{ secrets.QUAY_USERNAME }}
62+
password: ${{ secrets.QUAY_PASSWORD }}
63+
64+
- name: build and push the github mcp server
65+
run: |
66+
cd mcp-servers/github
67+
podman build -t quay.io/redhat-et/mcp-github:latest .
68+
podman push quay.io/redhat-et/mcp-github:latest

0 commit comments

Comments
 (0)