AGENT SKILL

container-deploy

Build, tag and roll out container images to an environment with health checks and a documented rollback path. Use when shipping a service rather than running it locally.

License 许可
MIT
最近更新
2026-11-03
Stars
★ 0
Forks
0

01 前言 Front Matter

name
container-deploy
license
MIT
metadata
{ "category": "infrastructure" }
description
Build, tag and roll out container images to an environment with health checks and a documented rollback path. Use when shipping a service rather than running it locally.
allowed-tools
Bash Read
compatibility
Requires a container runtime and registry credentials in the environment.

02 资源文件 1

03 SKILL.md 正文

Container deployment

Ship a build you can identify and undo.

Build

Tag every image with the exact source commit. A latest tag is not an identifier and cannot be rolled back to.

Roll out

  1. Push the image and confirm the digest.
  2. Start the new revision alongside the old one.
  3. Wait for the readiness check, not the liveness check.
  4. Shift traffic only after readiness passes.

Rollback

Record the previous digest before shifting traffic. A rollback that requires a rebuild is not a rollback.

04 同仓库更多 Skills