一键导入
build-and-deploy
Build a container image for linux/amd64 (Fargate), push to ECR, and rotate the ECS Fargate service.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build a container image for linux/amd64 (Fargate), push to ECR, and rotate the ECS Fargate service.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Safe, project-wide remediation of a dangerous or incorrect code pattern using structured search and replace.
Run a multi-faceted code review on uncommitted changes using specialized review subagents.
Create an Architectural Decision Record (ADR) to document a design choice or technical strategy.
Run a multi-faceted code review on uncommitted changes using specialized review subagents.
Commit (if needed), push the current branch to origin, and generate a pull request description in the chat.
Generate a session handoff document capturing the current working state for the next session.
| name | build-and-deploy |
| description | Build a container image for linux/amd64 (Fargate), push to ECR, and rotate the ECS Fargate service. |
| metadata | {"author":"cascadian-gamers","version":"1.0"} |
Build a container image for linux/amd64 (Fargate), push to ECR, and rotate the ECS Fargate service.
When the user wants to see UI changes live without waiting for CI/CD. This is a manual deploy — CI/CD will overwrite it on the next merge to develop.
podman machine start)aws sts get-caller-identity)aws ecr get-login-password | podman login)podman system prune -af # Avoid OOM — reclaim disk space
podman build --platform linux/amd64 \
--build-arg CERT_PASSWORD="localdev321" \
-t 851725441346.dkr.ecr.us-west-2.amazonaws.com/extralife-web-admin:latest \
-f Source/ExtraLife.Web.Admin/Dockerfile .
⚠️ Must use --platform linux/amd64 — Mac ARM builds won't run on Fargate x86.
aws ecr get-login-password --region us-west-2 | podman login --username AWS --password-stdin 851725441346.dkr.ecr.us-west-2.amazonaws.com
podman push 851725441346.dkr.ecr.us-west-2.amazonaws.com/extralife-web-admin:latest
CLUSTER=$(aws ecs list-clusters --region us-west-2 --query "clusterArns[?contains(@, 'ExtraLife')]" --output text | head -1)
SERVICE=$(aws ecs list-services --cluster "$CLUSTER" --region us-west-2 --query "serviceArns[?contains(@, 'Admin')]" --output text | head -1)
aws ecs update-service --cluster "$CLUSTER" --service "$SERVICE" --force-new-deployment --region us-west-2
Wait 2-3 minutes, then confirm:
aws ecs describe-services shows 2/2 running tasks with new task definitiongit push → GitHub Actions → cdk deploy).git push → GitHub Actions → Lambda deploy).podman machine set --memory 6144.