Importing multiple images from public to private cluster in azure devops pipeline

Rachita Sharma 1 Reputation point
2022-08-18T11:25:54.13+00:00

I would like to import multiple specify images from a public cluster to a private cluster using azure devops pipeline. I know about importing single images using az import command but the requirement is multiple images and not manually. It has to be kind of triggered or we can input a file. But I am not getting any solution around it. Please help as soon as possible.

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,448 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Vidya Narasimhan 2,126 Reputation points Microsoft Employee
    2022-08-22T05:02:30.57+00:00

    Hi @Rachita Sharma

    To be able to import multiple container images to ACR , you can write a script with PowerShell/cli that loops calling the AZ ACR import command multiple times with different parameters. An example is here in https://stackoverflow.com/questions/67749357/how-to-import-all-images-from-an-acr-repository-to-another-acr-in-different-tena

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.