Skip to content

chore(release): v0.6.7 #73

chore(release): v0.6.7

chore(release): v0.6.7 #73

name: Docker Build and Publish
on:
push:
branches: ['main']
tags: ['v*.*.*']
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v7
- name: Set up QEMU
uses: docker/setup-qemu-action@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
- name: Docker Hub login
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Compute Docker tags from package.json
id: vars
shell: bash
run: |
VERSION=$(jq -r .version package.json)
if [[ -z "$VERSION" || "$VERSION" == "null" ]]; then
echo "Package version is empty" >&2
exit 1
fi
echo "tags=crackish/mcp-creatio:latest,crackish/mcp-creatio:v${VERSION}" >> $GITHUB_OUTPUT
- name: Build and push
uses: docker/build-push-action@v7
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.vars.outputs.tags }}
# Sync the repo README to the Docker Hub repository "Overview" (it is NOT
# auto-populated from GitHub). Reuses the same Docker Hub credentials.
- name: Update Docker Hub overview
uses: peter-evans/dockerhub-description@v5
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: crackish/mcp-creatio
readme-filepath: ./README.md
short-description: 'MCP server for Creatio CRM (DataService/OData) for Claude, ChatGPT & Copilot'