-
Notifications
You must be signed in to change notification settings - Fork 1.9k
RHDEVDOCS-6890: CQA 2.0: Work with builds #100499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
eromanova97
merged 1 commit into
openshift:build-docs-main
from
shivanisathe25:CQA_work_with_builds
Jan 13, 2026
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
configuring/using-builds-in-a-network-restricted-environment.adoc
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
modules/ob-creating-a-buildah-build-in-a-network-restricted-environment.adoc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| // Module included in the following assemblies: | ||
| // | ||
| //* builds/work-with-builds.adoc | ||
|
|
||
| :_mod-docs-content-type: PROCEDURE | ||
| [id='ob-creating-a-buildah-build-in-a-network-restricted-environment_{context}'] | ||
| = Creating a buildah build in a network-restricted environment | ||
|
|
||
| [role="_abstract"] | ||
| Create a `buildah` build in a network-restricted environment by mirroring the images that `buildah` build strategy requires. Mirroring the images eliminates the need for public registry access. This ensures clusters use only images that comply with external content controls. | ||
|
|
||
| .Prerequisites | ||
|
|
||
| * You have installed the `oc` CLI. | ||
| * Your cluster can connect and interact with the Git source that you can use to create the buildah build. | ||
| * You have the builder-image required to create the `buildah` build in your local registry. If the builder-image is not present in the local registry, mirror the source image. | ||
|
|
||
| .Procedure | ||
|
|
||
| . Run the following command to mirror the images that `buildah` build strategy requires: | ||
| + | ||
| [source,terminal] | ||
| ---- | ||
| $ oc image mirror --insecure -a <registry_authentication> registry.redhat.io/ubi8/buildah@sha256:1c89cc3cab0ac0fc7387c1fe5e63443468219aab6fd531c8dad6d22fd999819e <mirror_registry>/<repo>/ubi8_buildah | ||
|
shivanisathe25 marked this conversation as resolved.
|
||
| ---- | ||
| + | ||
|
shivanisathe25 marked this conversation as resolved.
|
||
| where: | ||
|
|
||
| `<registry_authentication>`:: Specifies the authentication credentials used to access a container registry. This is required when pushing to or pulling from a private registry. | ||
| `<mirror_registry>`:: Specifies the registry where the image you want to mirror is stored. | ||
| `<image_name>`:: Specifies the name of the image. | ||
| `<tag>`:: Specifies the tag of the image. | ||
|
|
||
| . Perform the steps mentioned in the "Creating a buildah build" section. | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.