naiemk/vibed-infra/infra-cicd
Claude Code and agent skill by naiemk/vibed-infra
- community
Checking that the SKILL.md file is still in the repository.
Set up GitHub Actions CI/CD for infra-packaged products: GHCR image build, OIDC notify for immediate VPS pulls, package validation, and dist e2e.
Install
npx vskill@latest install naiemk/vibed-infra/infra-cicdSKILL.md
The same SKILL.md was published earlier as naiemk/vibed-infra/infra-cicd.
Infra packager CI/CD
Image build (GHCR)
Use reusable workflow `github/workflows/docker-build-reusable.yml`:
Tags: :main, main-<sha>, semver on tag push.
On the default branch, the reusable workflow mints a GitHub Actions OIDC JWT (audience = webhook URL) and POSTs to https://{host}/_vibed/hooks/ghcr (fallback http://{publicIp}/…). No GitHub Packages webhook and no extra secrets. Disable with notify: false. The caller job must include id-token: write.
CI in vibed-infra
- `npm test` — runs
package.shforexamples/vps-hello, dry-runs eachdist/install-*.shwithTLS_MODE=lab(no Docker / no certbot). Includes local openssl JWT verify of the webhook. - `oidc-webhook-e2e` —
scripts/e2e-oidc-webhook.shmints a real GitHub OIDC token in CI and POSTs a local webhook (REQUIRE_OIDC_E2E=1). - `dist-e2e` matrix —
api,ui,nodesviaexamples/vps-hello/test-dist.sh(builds images + proves each profile). - `multi-app-e2e` —
scripts/e2e-multi-app.sh/npm run test:e2e-multi(two apps, localhost wget, shared host gateway + lab TLS).
Product repo CI
- Run
./package.shand fail ifdist/drifted from templates (optionalgit diff --exit-code dist). - Build/push images to GHCR (reusable workflow notifies the VPS; requires
id-token: write). - Optional job:
test-dist.sh --profile apion a Docker-enabled runner.
Product e2e (Playwright, temp DB, human-action harnesses): see `infra-e2e-cicd`. vibed-infra CI validates the packager; product repos add browser e2e for app critical paths.
Checklist
- [ ] Four YAML templates under
templates/(gateway.publicIp/tlsEmail/sites[]set for production) - [ ] Committed
dist/matches./package.shoutput (includingDNS-SKILL.md) - [ ] Image names in configs match GHCR (
ghcr.io/{owner}/…so OIDCrepository_ownercan match) - [ ] GHCR reusable job has
permissions.id-token: write - [ ]
npm test/ install dry-run passes - [ ] Secrets not in templates — only
.env.*.exampleplaceholders (publicIp/domain are OK to commit)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/infra-cicd/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/naiemk/vibed-infra/infra-cicd)