← ClaudeAtlas

docker-buildlisted

Use this skill when building or pushing Docker images for the project's services (the main app, the device service) to the cloud container registry. Don't use it for deploys (use deployment) or Dockerfile template editing without a build (use code-quality).
atretyak1985/swarmery · ★ 3 · DevOps & Infrastructure · score 62
Install: claude install-skill atretyak1985/swarmery
# Purpose Build and push Docker images for the project's services to the cloud container registry (see `.claude/project.json` → `cloud.provider`). Covers multi-arch builds (e.g., ARM64 for a device/edge service on a Raspberry Pi, AMD64 for the main web app), tagging conventions, and registry authentication. This skill handles image creation only; deploying the image is handled by `deployment`. Placeholders: `<mainApp>` = `project.json → mainApp`; `<device>` = `project.json → device` (the device/edge service, if the project has one). # When to use this skill (triggers) - Building a Docker image for the main app or the device service - Pushing a built image to the cloud container registry - Setting up Docker buildx for multi-architecture builds - Debugging image build failures (build context, layer caching, platform mismatch) # When NOT to use this skill (anti-triggers) - Deploying an image to the runtime environment -- use `deployment` - Editing deployment config templates or values files -- use `deployment` - Editing a Dockerfile without running a build -- use `code-quality` for review - Pushing to the production registry from a local dev machine without CI -- stop and escalate - Tests have not passed for the code being built -- build gate not met, do not proceed # Required environment (Runtime: .claude/skills/docker-build/SKILL.md) - Tools/libraries: `docker` (with buildx plugin), the cloud provider's CLI (for registry auth) - Environment variable: `IMAGE_REGISTRY` -