Use this action to promote an image in Amazon Elastic Container Registry (Amazon ECR).
Note: Information related to the artifacts created with this action will be published to CloudBees Platform.
Input name | Data type | Required? | Description |
---|---|---|---|
|
String |
Yes |
The Amazon ECR registry URL. |
|
String |
Yes |
The Amazon ECR source repository name. |
|
String |
Required only if |
The Amazon ECR target repository name. |
|
String |
Yes |
The Amazon ECR source image tag. |
|
String |
Required only if the |
The Amazon ECR target image tag. |
In your YAML file, add:
- name: Promote an image in ECR
uses: cloudbees-io/ecr-promote-image@v1
with:
registry-url: ${{ vars.REGISTRY_URL }}
source-repository-name: my-ecr-repo-name
target-repository-name: my-ecr-repo-name
source-tag: '6'
target-tag: '7'
This code is made available under the MIT license.
-
Learn more about using actions in CloudBees workflows.
-
Learn about the CloudBees platform.