s2i-build

Create OpenShift BuildConfig and ImageStream resources for S2I builds.

48|31|Updated Feb 2, 2026
One-click install
npx skills add https://github.com/RHEcosystemAppEng/agentic-collections --skill s2i-build
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: s2i-build
Source: https://github.com/RHEcosystemAppEng/agentic-collections/tree/main/rh-developer/skills/s2i-build
Command: npx skills add https://github.com/RHEcosystemAppEng/agentic-collections --skill s2i-build

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automate OpenShift S2I build setup by creating BuildConfig and ImageStream.

Core Features & Use Cases

  • Create BuildConfig and ImageStream resources for S2I builds on OpenShift.
  • Trigger builds from source code in a cluster with user-verified steps.
  • Use case: when you need repeatable, auditable image builds from a repo with guardrails.

Quick Start

Run the skill to validate your OpenShift connection, gather build details, and create a BuildConfig and ImageStream, prompting for user confirmation at each step.

Frequently Asked Questions about s2i-build

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate OpenShift S2I builds from source code?

You can automate OpenShift S2I builds by creating BuildConfig and ImageStream resources. This process ensures repeatable, auditable image builds directly from a repository with step-by-step guardrails and user confirmation.

What is an S2I build on OpenShift and when do I need it?

An S2I build on OpenShift is a process that builds container images from source code within a cluster. You need it when you want repeatable, auditable image builds from a repository without writing a custom Dockerfile.

Do I need an existing namespace to create a BuildConfig and ImageStream?

Yes, you need a valid OpenShift namespace. The automation process includes namespace validation before proceeding with the guarded creation of BuildConfig and ImageStream resources to ensure proper deployment.

How do I monitor S2I build logs and recover from failures on OpenShift?

You monitor S2I builds by accessing build logs during the automated workflow. The process includes built-in failure recovery mechanisms, allowing you to trigger builds on demand while tracking progress at each step.

Can I trigger builds on demand after setting up BuildConfig and ImageStream?

Yes, you can trigger builds on demand. Once the BuildConfig and ImageStream are created with user-verified steps, the skill allows you to initiate builds from your source code repository whenever needed.

What is the best way to ensure auditable image builds in an OpenShift cluster?

The best way to ensure auditable image builds is using an automated S2I setup that creates BuildConfig and ImageStream resources. This approach provides guardrails by prompting for user confirmation at each step.