CI/CD pipeline structure, GitHub Actions workflows, reusable workflow patterns, and matrix builds for NIC. Use when working on CI workflows, debugging build failures, adding new workflow steps, modifying build matrices, or understanding the release pipeline.
70
85%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
The CI system uses GitHub Actions with extensive reusable workflow composition.
ci.yml (main CI orchestrator)
-> checks (format, lint, codegen, CRDs, chart version)
-> unit-tests
-> build-artifacts.yml (reusable)
-> build-oss.yml (per-variant, matrix)
-> build-plus.yml (per-variant, matrix) <- also used for NAP variants
-> helm-tests
-> setup-smoke.yml (reusable)
-> e2e tests
image-promotion.yml (post-merge)
-> builds images, tags edge/stable
-> Trivy + DockerScout security scans
-> publishes edge Helm charts
release.yml (manual dispatch)
-> oss-release.yml
-> plus-release.yml
-> publish-helm.yml
-> certify-ubi-image.yml
-> marketplace pushes (AWS, Azure, GCP)| Workflow | Trigger | Purpose |
|---|---|---|
ci.yml | PR to main/release-*, merge_group, workflow_dispatch | Main CI: checks + build + test |
lint-format.yml | PR to main, merge_group | goimports, gofumpt, golangci-lint, actionlint |
regression.yml | Daily cron (03:00 UTC), manual | Multi-K8s-version regression |
image-promotion.yml | Push to main/release-* | Post-merge image tagging + scanning |
release.yml | Manual dispatch | Full release orchestrator |
build-base-images.yml | Weekday cron (04:30 UTC) | Rebuilds all base images |
release.yml)| Workflow | Purpose |
|---|---|
oss-release.yml | OSS image release |
plus-release.yml | Plus/NAP image release |
publish-helm.yml | Helm chart publishing to registry |
workflow_call)| Workflow | Purpose |
|---|---|
build-artifacts.yml | Orchestrates GoReleaser binary builds + image matrix |
build-oss.yml | Builds single OSS image variant |
build-plus.yml | Builds single Plus/NAP image variant |
build-test-image.yml | Builds Python e2e test image |
setup-smoke.yml | Sets up and runs smoke tests |
patch-image.yml | OS-level patches on existing images |
retag-images.yml | Re-tags images in GCR Dev Registry |
| Workflow | Purpose |
|---|---|
codeql-analysis.yml | GitHub CodeQL scanning |
scorecards.yml | OpenSSF Scorecards |
dependency-review.yml | Dependency review for PRs |
certify-ubi-image.yml | Red Hat UBI certification for OpenShift |
Image variants are defined in JSON under .github/data/:
matrix-images-oss.json: debian, alpine, ubi (amd64 + arm64)matrix-images-plus.json: debian-plus, alpine-plus, alpine-plus-fips, ubi-10-plusmatrix-images-nap.json: WAF v4/v5, DoS, UBI 10 (amd64 only)matrix-smoke-oss.json, matrix-smoke-plus.json, matrix-smoke-nap.json: Smoke test matricesmatrix-regression.json: Regression test matrix (K8s version combinations)patch-images.json: Patch image definitions for patch-image.ymlgo_code_md5 hashdocker_md5 hashforked_workflow variable gates authenticated operations. Forked PRs get local-only builds without secret access.
Each workflow uses group: ${{ github.ref_name }}-<suffix> with cancel-in-progress: true.
Retrieved from Azure Key Vault via OIDC -- not stored as GitHub secrets directly.
.github/data/version.txt contains IC_VERSION and HELM_CHART_VERSION.
.github/data/ must stay in sync with Makefile image targetslinux/amd64 only -- do not add arm64 to NAP matrices# renovate: comments -- do not update manuallyimage-promotion.yml runs on merge to main, not on PR -- don't expect images from PRs0eb3072
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.