github-actions-container-build

github-actions-container-build is a skill for Claude Code from pigfoot/claude-code-hubs. It costs 56 tokens per session (2,513 once invoked), scanned B, original, MIT.

A workflow for building container images for different processor types in GitHub Actions using Podman. It chooses native ARM64 runners, paid larger runners, or QEMU software emulation based on the repository and runner options.

In plain words
What is it for?
Use it to create GitHub Actions workflows for multi-architecture container builds, push images by digest, and publish the final combined image.
Why use it?
It helps one automated build process produce images for both standard x86 computers and ARM64 computers while handling public and private repository constraints.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

Part of the github-actions-container-build plugin — 1 skill shipped together

Good fit Use it to create GitHub Actions workflows for multi-architecture container builds, push images by digest, and publish the final combined image.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pigfoot/claude-code-hubs/github-actions-container-build
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pigfoot/claude-code-hubs --skill github-actions-container-build
Clone the repo
git clone --depth 1 https://github.com/pigfoot/claude-code-hubs

Made for: Claude Code.

Or install github-actions-container-build, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for github-actions-container-build

README.md
[![agentmods](https://agentmods.dev/badge/skills/pigfoot/claude-code-hubs/github-actions-container-build/github.svg)](https://agentmods.dev/skills/pigfoot/claude-code-hubs/github-actions-container-build)
Your own site
<a href="https://agentmods.dev/skills/pigfoot/claude-code-hubs/github-actions-container-build"><img src="https://agentmods.dev/badge/skills/pigfoot/claude-code-hubs/github-actions-container-build/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for github-actions-container-build

Your own site · 80×15
<a href="https://agentmods.dev/skills/pigfoot/claude-code-hubs/github-actions-container-build"><img src="https://agentmods.dev/badge/skills/pigfoot/claude-code-hubs/github-actions-container-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,513 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00056 $0.02513
Opus 5.5 $0.00022 $0.01005
Sonnet 5.5 $0.00011 $0.00503
Haiku 4.5 $0.00006 $0.00251

Measured 3mo ago against content hash 5a447d734b5e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

github-actions-container-build scanned grade B with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo cp -f podman-linux-${PODMAN_ARCH}/usr/local/bin/* /usr/bin/

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL -o /tmp/podman-linux-${PODMAN_ARCH}.tar.gz \
plugins/github-actions-container-build/skills/github-actions-container-build/SKILL.md · 324 lines

How it starts

The opening of the file, as written. The whole thing — 324 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHub Actions Container Build

Build multi-architecture container images in GitHub Actions using Podman and native ARM64 runners.

Core Principles

Choose Your Workflow

CRITICAL: Ask these questions before generating any workflow.

Question 1: Is your GitHub repository public?

  • Yes → Use github-actions-workflow-matrix-build.yml (free standard ARM64 runners, 10-50x faster)
  • No → Go to Question 2

Question 2: Do you have GitHub Team/Enterprise + willing to pay for ARM64 builds?

  • Yes → Use ARM64 larger runners (custom setup required, paid per minute)
  • No → Use github-actions-workflow-qemu.yml (free QEMU emulation, slower but works on free tier)

1. Push-by-Digest (2025 Best Practice - Default)

Matrix builds use push-by-digest pattern:

  • Images pushed by digest without intermediate :amd64/:arm64 tags
  • Only tiny digest files (~70 bytes) transfer as artifacts
  • Registry stays clean (no tag clutter)
  • Same debug experience with --platform flag
# Build job
- name: Push by digest
  run: |
    podman push \
      --digestfile /tmp/digest \
      localhost/build:${{ matrix.arch }} \
      docker://${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

# Merge job
- name: Create manifest from digests
  run: |
    podman manifest create "$IMAGE:latest"
    podman manifest add "$IMAGE:latest" "docker://$IMAGE@${AMD64_DIGEST}"
    podman manifest add "$IMAGE:latest" "docker://$IMAGE@${ARM64_DIGEST}"
    podman manifest push --all "$IMAGE:latest" "docker://$IMAGE:latest"

Debug specific architecture:

podman pull --platform linux/arm64 ghcr.io/OWNER/REPO:latest

2. Matrix Builds (Public Repos)

For public repositories - use GitHub-hosted standard ARM64 runners:

  • 10-50x faster builds (native vs. emulation)
  • Better reliability and accuracy
  • Lower CI costs
  • Completely free for public repos
  • Not available for private repos
strategy:
  matrix:
    include:
      - arch: amd64
        runner: ubuntu-24.04
      - arch: arm64
        runner: ubuntu-24.04-arm  # Standard ARM64 runner (public repos only)

Read the full file on GitHub · 324 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 324 lines · 56 tokens per session scan B 5a447d734b5e

Subscribe to this mod's changes

github-actions-container-build is a skill published in the GitHub repository pigfoot/claude-code-hubs (5 stars, last pushed 4mo ago), licensed MIT. It adds 56 tokens to every session and 2,513 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 2 findings (asks for root, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

github-actions-container-build compared with skills from other repositories

github-actions-container-build next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
github-actions-container-buildpigfoot/claude-code-hubsSkill54mo agoMITB56Claude Code
deployment-patternsaffaan-m/ECCSkill317k3d agoMITA41Claude Code, Kiro
performing-container-security-scanning-with-trivyxalgorix/xalgorixSkill1.6ktodayApache-2.0A48Claude Code, Codex
devops-deploymentyonatangross/orchestkitSkill315todayMITA34Claude Code
devops-automatorcuriositech/some_claude_skillsSkill2857d agoMITA87Claude Code
platform-engineeringmagnus919/agent-skillsSkill204todayMITA105Claude Code, Codex
test-environmentspetrkindlmann/qa-skillsSkill32218d agoMITA157Claude Code, Codex