Bookmark this page

Summary

  • A BuildConfig resource includes one strategy and one or more input sources.

  • You can use Source, Docker, or Custom build strategies.

  • The build input sources, in order of precedence are: Dockerfile, Git, Image, Binary, Input Secrets, and External artifacts.

  • Manage the build lifecycle with oc commands such as oc start-build, oc cancel-build, oc delete, oc describe, and oc logs.

  • Builds can start automatically through build triggers such as an image change trigger, configuration change triggers, and webhooks triggers.

  • You can perform validation and administrative tasks during builds by using post-commit build hooks.

Revision: do288-4.12-0d49506