Skip to content

Release IWAC MCP 0.8.2 #5

Release IWAC MCP 0.8.2

Release IWAC MCP 0.8.2 #5

Workflow file for this run

name: Publish container image to GHCR
# Builds the remote-HTTP (`node server/index.js --http`) image OFF-host on
# GitHub-hosted runners and pushes it to GHCR, so the single-CPU IWAC-docker host
# only ever does a lightweight `docker pull` (no on-host build contention).
#
# Triggers on a version tag (v*), or manually. The Claude Desktop / stdio .mcpb
# path is unaffected — this only packages the same codebase for HTTP deployment.
on:
push:
tags:
- "v*"
workflow_dispatch:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }} # fmadore/iwac-mcp-server
jobs:
build-and-push:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to GHCR
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Derive image tags and labels
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=semver,pattern={{version}}
type=raw,value=latest
type=sha,format=short
- name: Build and push (linux/amd64)
uses: docker/build-push-action@v6
with:
context: mcpb
file: mcpb/Dockerfile
platforms: linux/amd64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max