-
Notifications
You must be signed in to change notification settings - Fork 516
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: updated target platform (#2857)
* updated target platform * updated target platform * minor updates on container registries
- Loading branch information
Showing
3 changed files
with
26 additions
and
22 deletions.
There are no files selected for viewing
This file contains 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
32 changes: 18 additions & 14 deletions
32
docs/user-guide/creating-application/container-registry-override.md
This file contains 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 |
---|---|---|
@@ -1,22 +1,26 @@ | ||
# Override Container Registry and Container Image | ||
# Override Build Configuration | ||
|
||
Within the same application, you can override a `Container registry` and `Container image` during the build pipeline, which means the images built for non-production environment can be included to the non-production registry and the images for production environment can be included to the production registry. | ||
Within the same application, you can override a `container registry`, `container image` and `target platform` during the build pipeline, which means the images built for non-production environment can be included to the non-production registry and the images for production environment can be included to the production registry. | ||
|
||
 | ||
|
||
To override a container registry and container image: | ||
1. Open the build pipeline of your application. | ||
2. Click **Allow Override** to select the new container registry and also to create and build the new container image. | ||
3. On **Store container image** section: | ||
 | ||
|
||
| Fields | Description | | ||
| --- | --- | | ||
| **Container Registry** | Select the container registry from the drop-down list. | | ||
| **Container Repository** | Enter the name of the container repository. | | ||
 | ||
|
||
To create and build a new container image with different options, refer [build the container image](https://docs.devtron.ai/usage/applications/creating-application/docker-build-configuration#build-the-container-image) section. | ||
To override a container registry, container image or target paltform: | ||
|
||
4. **Update Pipeline**. | ||
* Go to **Applications** and select your application from the **Devtron Apps** tabs. | ||
* On the **App Configuration** tab, select **Workflow Editor**. | ||
* Open the build pipeline of your application. | ||
* Click **Allow Override** to: | ||
* Select the new container registry from the drop-down list. | ||
* Or, [create and build the new container image](https://docs.devtron.ai/usage/applications/creating-application/docker-build-configuration#build-the-container-image) with different options. | ||
* Or, set a [new target platform](https://docs.devtron.ai/usage/applications/creating-application/docker-build-configuration#set-target-platform-for-the-build) from the drop-down list or enter a new target platform. | ||
|
||
* Click **Update Pipeline**. | ||
|
||
The overriden container registry/container image location/target platform will be reflected on the [Build Configuration](docker-build-configuration.md) page. You can also see the number of build pipelines for which the container registry/container image location/target platform is overriden. | ||
|
||
 | ||
|
||
The overriden container registry / container image location will be reflected on the [Build Configuration](docker-build-configuration.md) page. You can also see the number of build pipelines for which the container registry / container image location is overriden. | ||
|
This file contains 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