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+ 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
You can’t perform that action at this time.
0 commit comments