Skip to content

initial commit of github actions for mcp builds #8

initial commit of github actions for mcp builds

initial commit of github actions for mcp builds #8

Workflow file for this run

name: MCP builds
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
jobs:
ansible:
runs-on: ubuntu-latest
environment: ci
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: login to quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: build and push the ansible mcp server
run: |
cd mcp-servers/ansible
curl -ssL -o submodule/mcp/ansible.py https://raw.githubusercontent.com/suppathak/mcp/refs/heads/main/ansible.py
podman build -t quay.io/redhat-et/mcp-ansible:latest .
podman push quay.io/redhat-et/mcp-ansible:latest
custom:
runs-on: ubuntu-latest
environment: ci
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: login to quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: build and push the custom mcp server
run: |
cd mcp-servers/custom
podman build -t quay.io/redhat-et/mcp-custom:latest .
podman push quay.io/redhat-et/mcp-custom:latest
github:
runs-on: ubuntu-latest
environment: ci
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: login to quay.io
uses: docker/login-action@v3
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_PASSWORD }}
- name: build and push the github mcp server
run: |
cd mcp-servers/github
podman build -t quay.io/redhat-et/mcp-github:latest .
podman push quay.io/redhat-et/mcp-github:latest