naiemk/vibed-infra/infra-cicd

Claude Code and agent skill by naiemk/vibed-infra

Trust tier 2
  • community
LLM review pending
Source check pending

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-cicd

SKILL.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`:

yaml
jobs:
images:
uses: naiemk/vibed-infra/.github/workflows/docker-build-reusable.yml@main
permissions:
contents: read
packages: write
id-token: write
with:
dockerfile: app/api/Dockerfile
image: ghcr.io/${{ github.repository_owner }}/my-api

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

  1. `npm test` — runs package.sh for examples/vps-hello, dry-runs each dist/install-*.sh with TLS_MODE=lab (no Docker / no certbot). Includes local openssl JWT verify of the webhook.
  2. `oidc-webhook-e2e` — scripts/e2e-oidc-webhook.sh mints a real GitHub OIDC token in CI and POSTs a local webhook (REQUIRE_OIDC_E2E=1).
  3. `dist-e2e` matrix — api, ui, nodes via examples/vps-hello/test-dist.sh (builds images + proves each profile).
  4. `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

  1. Run ./package.sh and fail if dist/ drifted from templates (optional git diff --exit-code dist).
  2. Build/push images to GHCR (reusable workflow notifies the VPS; requires id-token: write).
  3. Optional job: test-dist.sh --profile api on 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.sh output (including DNS-SKILL.md)
  • [ ] Image names in configs match GHCR (ghcr.io/{owner}/… so OIDC repository_owner can match)
  • [ ] GHCR reusable job has permissions.id-token: write
  • [ ] npm test / install dry-run passes
  • [ ] Secrets not in templates — only .env.*.example placeholders (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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/naiemk/vibed-infra/infra-cicd/badge)](https://verified-skill.com/skills/naiemk/vibed-infra/infra-cicd)

Something wrong with this skill or its page? Tell us.