publish-mock-server

Build and publish multi-architecture Docker images to GitHub Container Registry.

335|69|Updated Jun 27, 2025
One-click install
npx skills add https://github.com/vfarcic/dot-ai --skill publish-mock-server
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: publish-mock-server
Source: https://github.com/vfarcic/dot-ai/tree/main/.claude/skills/publish-mock-server
Command: npx skills add https://github.com/vfarcic/dot-ai --skill publish-mock-server

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the process of building and publishing a Docker image for the mock server, ensuring that the latest version is available for consumers.

Core Features & Use Cases

  • Multi-architecture builds: Creates Docker images for both amd64 and arm64 architectures.
  • Automated publishing: Pushes the built image to GitHub Container Registry (ghcr.io).
  • Use Case: When changes are made to the mock server's code or fixtures, this skill can be run to update the ghcr.io/vfarcic/dot-ai-mock-server:latest image, making the updated mock API available for integration testing.

Quick Start

Run the publish-mock-server skill to build and push the latest mock server Docker image.

Frequently Asked Questions about publish-mock-server

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
Why do I need a Docker image for a mock API endpoint?

A Docker image for a mock API endpoint ensures a consistently available and up-to-date service for integration testing. Packaging the mock server as an image makes it portable across development and CI/CD environments.

How do I publish a multi-arch Docker image to GitHub Container Registry?

Publishing a multi-arch Docker image to GitHub Container Registry requires building for amd64 and arm64 architectures and pushing the result to ghcr.io. This skill automates that build and push process for mock server images.

What is the best way to update a shared mock server in a CI/CD pipeline?

Updating a shared mock server in CI/CD involves building the latest code or fixtures into a Docker image and publishing it. This skill automates the build and push to ghcr.io to keep the mock API endpoint current.

Does this mock server publishing process support arm64 and amd64 architectures?

Yes, mock server publishing supports both arm64 and amd64 architectures. The skill builds a multi-architecture Docker image and pushes it to GitHub Container Registry for broad compatibility.

What are the limitations of using GitHub Container Registry for mock API images?

Using GitHub Container Registry for mock API images requires proper authentication and repository configuration. The skill specifically targets ghcr.io, so alternative registries would need a different publishing approach.

Why do I need a Docker image for a mock API endpoint?

A Docker image for a mock API endpoint ensures a consistently available and up-to-date service for integration testing. Packaging the mock server as an image makes it portable across development and CI/CD environments.