Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Multiple images from private docker registries

Natarajan.Ramani February 17, 2021

Is there a support for using multiple docker images from private docker registries, for pipelines? Something like the below one:

 

image:

  - name: <aws_account_id>.dkr.ecr.<region>.amazonaws.com/openjdk:8

    aws:

      access-key: $AWS_ACCESS_KEY

      secret-key: $AWS_SECRET_KEY

 

  - name: <aws_account_id>.dkr.ecr.<region>.amazonaws.com/example:v1

    aws:

      access-key: $AWS_ACCESS_KEY

      secret-key: $AWS_SECRET_KEY

1 answer

0 votes
Natarajan.Ramani February 18, 2021

I have found a way. It was my bad. I thought the image block could be given only once, in the start of the pipeline. I have sorted it by adding the image block to the step.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events