Merge manifest lists

Entrypoint used for merging manifest lists of two images in Quay. ManifestListMerger class is invoked and used.

CLI reference

usage: pubtools-quay-merge-manifest-list [-h] --source-ref SOURCE_REF
                                         --dest-ref DEST_REF
                                         --source-quay-user SOURCE_QUAY_USER
                                         [--source-quay-password SOURCE_QUAY_PASSWORD]
                                         --dest-quay-user DEST_QUAY_USER
                                         [--dest-quay-password DEST_QUAY_PASSWORD]

Named Arguments

--source-ref

Source image reference. Manifest list data of this image will overwrite destination’s manifest list

--dest-ref

Destination image reference. Must be specified by tag. New manifest list will be uploaded to this image reference.

--source-quay-user

Quay username to get source image.

--source-quay-password

Quay password to get source image. Can be specified by env variable SOURCE_QUAY_PASSWORD.

--dest-quay-user

Quay username to get dest image.

--dest-quay-password

Quay password to get dest image. Can be specified by env variable DEST_QUAY_PASSWORD.

Examples

Merge manifest lists of source-ref and dest-ref and overwrite dest-ref with the result.

$ export QUAY_PASSWORD=token
$ pubtools-quay-merge-manifest-list \
  --source-ref quay.io/src/image:1 \
  --dest-ref quay.io/dest/image:1 \
  --quay-user quay+username