Skip to content

ci: GitHub Actions → ECR → ECS deploy pipeline (replaces failing upstream publish)#5

Merged
0xultravioleta merged 1 commit into
mainfrom
ci/github-actions-aws-deploy
Jun 11, 2026
Merged

ci: GitHub Actions → ECR → ECS deploy pipeline (replaces failing upstream publish)#5
0xultravioleta merged 1 commit into
mainfrom
ci/github-actions-aws-deploy

Conversation

@0xultravioleta

Copy link
Copy Markdown
Collaborator

Replaces the inherited upstream publish workflow (which pushed to ghcr.io/x402-rs + docker.io/ukstv — namespaces this fork can't write to, so it failed on every main commit) with a pipeline targeting our own AWS infra.

test (PRs + push to main): build + full test suite — the green gate, and adds PR gating the repo lacked.
deploy (push to main, gated on AWS secrets present): build → push to AWS ECR → targeted terraform apply to roll ECS prod → wait stable → verify /health.

Auth: IAM access-key secrets (AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY). Until set, the deploy job is skipped (run stays green on test). Setup + IAM policy in docs/CICD_SETUP.md.

Per your choices: access-key auth + auto-deploy on merge to main.

🤖 Generated with Claude Code

The inherited ci.yaml published to upstream's registries (ghcr.io/x402-rs,
docker.io/ukstv) which this fork can't write to, so it failed on every main
commit. Replace it with a pipeline targeting our own AWS infrastructure:

- test job: build + full test suite on every PR and push to main (the green
  gate; also adds PR gating, which the repo lacked).
- deploy job (push to main, gated on AWS secrets being present): build the
  image, push to AWS ECR, targeted `terraform apply` to roll ECS production to
  the new image, wait for stable, verify /health.

Auth via IAM access-key secrets (AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY).
Until those secrets are set the deploy job is skipped, so the run goes green on
the test job alone. Setup + IAM policy documented in docs/CICD_SETUP.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@0xultravioleta 0xultravioleta merged commit 76faa0c into main Jun 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant