File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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+ curl -ssL -o submodule/mcp/ansible.py https://raw.githubusercontent.com/suppathak/mcp/refs/heads/main/ansible.py
28+ podman build -t quay.io/redhat-et/mcp-ansible:latest .
29+ podman push quay.io/redhat-et/mcp-ansible:latest
30+
31+ custom :
32+ runs-on : ubuntu-latest
33+ environment : ci
34+ steps :
35+ - name : Checkout code
36+ uses : actions/checkout@v4
37+
38+ - name : login to quay.io
39+ uses : docker/login-action@v3
40+ with :
41+ registry : quay.io
42+ username : ${{ secrets.QUAY_USERNAME }}
43+ password : ${{ secrets.QUAY_PASSWORD }}
44+
45+ - name : build and push the custom mcp server
46+ run : |
47+ cd mcp-servers/custom
48+ podman build -t quay.io/redhat-et/mcp-custom:latest .
49+ podman push quay.io/redhat-et/mcp-custom:latest
50+
51+ github :
52+ runs-on : ubuntu-latest
53+ environment : ci
54+ steps :
55+ - name : Checkout code
56+ uses : actions/checkout@v4
57+
58+ - name : login to quay.io
59+ uses : docker/login-action@v3
60+ with :
61+ registry : quay.io
62+ username : ${{ secrets.QUAY_USERNAME }}
63+ password : ${{ secrets.QUAY_PASSWORD }}
64+
65+ - name : build and push the github mcp server
66+ run : |
67+ cd mcp-servers/github
68+ podman build -t quay.io/redhat-et/mcp-github:latest .
69+ podman push quay.io/redhat-et/mcp-github:latest
You can’t perform that action at this time.
0 commit comments