bodhi: switch skopeo command

bodhi was using a small script to copy flatpak images from candidate
registry to registry. This was done because skopeo wasn't able to copy
multi-arch containers at the time. It has since gained the ability to do
that and we should stop using the temporary script to do this.

The script doesn't understand the new f39+ flatpaks hash passed to it so
it fails to push them.

This patch switches bodhi to use normal skopeo and pass it -a which
should tell it to copy all the arches, not just the one it's running on.

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2023-10-04 17:33:52 -07:00 committed by kevin
parent 080f7db125
commit ddc17b2e23

View file

@ -202,10 +202,10 @@ pungi.extracmdline = --notification-script=/usr/bin/pungi-fedmsg-notification --
# You can put credentials for skopeo to use in $HOME/.docker/config.json
# https://github.com/projectatomic/skopeo#private-registries-with-authentication
# skopeo.cmd = /usr/bin/skopeo
skopeo.cmd = /usr/bin/bodhi-skopeo-lite
skopeo.cmd = /usr/bin/skopeo
# Comma separated list of extra flags to pass to the skopeo copy command.
# skopeo.extra_copy_flags =
skopeo.extra_copy_flags = -a
# Container hostnames. You can specify a port as well, using the traditional syntax (i.e., localhost:5000).
# container.destination_registry = registry.fedoraproject.org