Skip to content

Support image conversion and push across repositories #230

@xianbintang

Description

@xianbintang

What is the version of your Accelerated Container Image

latest

What would you like to be added?

The convertor command currently only supports image conversion within the same repository. However, it may be beneficial to support image conversion between two different repositories. For example, pulling an image from repository A, performing the conversion, and then pushing it to repository B. To achieve this, two new flags could be added: --output-repository and --output-username. If specified, the converted image would be pushed to the specified output-repository. If these flags are not provided, the command will continue to follow the existing logic.

Why is this needed for Accelerated Container Image?

For large enterprises, having multiple image repositories is common, and it is important to support image conversion and push across repositories. Otherwise, users would need to perform unnecessary operations such as pulling the image from one repository and pushing it to another before conversion.

Are you willing to submit PRs to contribute to this feature?

  • Yes, I am willing to implement it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions