|
| 1 | +# Pull images from container repository |
| 2 | + |
| 3 | +## Introduction |
| 4 | +The Pull images from container repository plugin helps you poll the specified container repository and fetch the container images to deploy them on your target Kubernetes environments using Devtron's CD pipeline. By integrating this plugin you can: |
| 5 | +- Poll the designated container repository to get the specific container image build using external CI like Jenkins and Github actions. Once the image becomes available, you can deploy it to your target Kubernetes environment using Devtron's CD pipeline. |
| 6 | + |
| 7 | +{% hint style="warning" %} |
| 8 | +Currently, this plugin only supports ECR registry. Support for other container registries will be added soon. |
| 9 | +{% endhint %} |
| 10 | + |
| 11 | +### Prerequisites |
| 12 | +Before integrating the **Pull images from the container repository** plugin, ensure that you have a specific container image present at your ECR container repository to pull the image and deploy it to the target environment. |
| 13 | + |
| 14 | +--- |
| 15 | + |
| 16 | +## Steps |
| 17 | +1. Go to Applications → **Devtron Apps**. |
| 18 | +2. Click your application. |
| 19 | +3. Go to **App Configuration** → **Workflow Editor**. |
| 20 | +4. Click **New Workflow** and navigate to the **CREATE JOB PIPELINE**. |
| 21 | +5. Enter the required fields in the **Basic configuration** window. |
| 22 | +6. Under 'TASKS', click the **+ Add task** button. |
| 23 | +7. Select the **Pull images from container repository** plugin. |
| 24 | +8. Enter the following [user inputs](#user-inputs) with appropriate values. |
| 25 | +--- |
| 26 | + |
| 27 | +## User Inputs |
| 28 | + |
| 29 | +### Task Name |
| 30 | +Enter the name of your task. |
| 31 | + |
| 32 | +e.g., `Pull container image` |
| 33 | + |
| 34 | +### Description |
| 35 | +Add a brief explanation of the task and the reason for choosing the plugin. Include information for someone else to understand the purpose of the task. |
| 36 | + |
| 37 | +e.g., `Pull container image build by external CI` |
| 38 | + |
| 39 | +### Input Variables |
| 40 | + |
| 41 | +| Variable | Format | Description | Sample Value | |
| 42 | +| ------------------------ | ------------ | ----------- | ------------ | |
| 43 | +| REPOSITORY | STRING | Provide name of repository for polling | dev-repo | |
| 44 | + |
| 45 | + |
| 46 | +### Trigger/Skip Condition |
| 47 | +Here you can set conditions to execute or skip the task. You can select `Set trigger conditions` for the execution of a task or `Set skip conditions` to skip the task. |
| 48 | + |
| 49 | +### Output Variables |
| 50 | +Pull images from container repository will not be generating an output variable. |
| 51 | + |
| 52 | +Click **Update Pipeline**. |
| 53 | + |
| 54 | + |
0 commit comments