From f1955ced482815728b8d4596ee6a2fb1b609c1cf Mon Sep 17 00:00:00 2001 From: Randy Barlow Date: Tue, 13 Nov 2018 22:46:04 +0000 Subject: [PATCH] Use bodhi-skopeo-lite on stg. Signed-off-by: Randy Barlow --- roles/bodhi2/base/templates/production.ini.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/bodhi2/base/templates/production.ini.j2 b/roles/bodhi2/base/templates/production.ini.j2 index 8df134afe5..350de479d5 100644 --- a/roles/bodhi2/base/templates/production.ini.j2 +++ b/roles/bodhi2/base/templates/production.ini.j2 @@ -210,6 +210,11 @@ 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 +{% if env == 'staging' %} +skopeo.cmd = /usr/bin/bodhi-skopeo-lite +{% elif env == 'production' %} +skopeo.cmd = /usr/bin/skopeo +{% endif %} # Comma separated list of extra flags to pass to the skopeo copy command. # skopeo.extra_copy_flags =