DO

Docker image publishing

Handles multi-architecture Docker image builds and publishing to GHCR via GitHub Actions on tag pushes.

Install

mkdir -p .claude/skills/docker-image-publishing && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/10480" && unzip -o skill.zip -d .claude/skills/docker-image-publishing && rm skill.zip

Installs to .claude/skills/docker-image-publishing

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

multi-arch image publishing to GHCR via GitHub Actions
54 charsno explicit “when” trigger
Advanced

Key capabilities

  • Build multi-arch images
  • Publish to GHCR
  • Configure GitHub Actions
  • Derive semver tags

How it works

It configures GitHub Actions to build multi-arch images using native runners and manifest merging.

Inputs & outputs

You give it
Docker build
You get back
Multi-arch image

When to use Docker image publishing

  • Publishing images to GHCR
  • Setting up multi-arch CI/CD
  • Configuring Docker release pipelines

About this skill

Skill: Docker image publishing

Goal

Provide a reusable GitHub Actions workflow to build/push multi-arch images to GHCR on tag pushes.

Conventions

  • Publish on tags v*.
  • Use native Intel or ARM runners for CI/CD. Don't use QEMU
  • Use buildx + per-arch digest builds, then merge into a manifest.
  • Use docker/metadata-action for semver tag derivation.

Files

  • .github/workflows/docker-publish.yml
  • .github/workflows/prune-docker-images.yml

When not to use it

  • Using QEMU
  • Hardcoding tags

Prerequisites

GitHub Actions

Limitations

  • Publish on v* tags
  • Requires native runners

How it compares

It avoids QEMU in favor of native runners, ensuring faster and more reliable multi-arch builds.

Compared to similar skills

Docker image publishing side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
Docker image publishing (this skill)05moNo flagsAdvanced
gcp-cloud-run55moReviewIntermediate
deployment-engineer44moNo flagsAdvanced
build-release15moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry