diff --git a/.github/scripts/delete-old-cloudsmith-artifacts.sh b/.github/scripts/delete-old-cloudsmith-artifacts.sh index 6b07e8f220d1..7968154e0990 100755 --- a/.github/scripts/delete-old-cloudsmith-artifacts.sh +++ b/.github/scripts/delete-old-cloudsmith-artifacts.sh @@ -7,7 +7,7 @@ MAX_NUMBER_OF_RELEASES=40 # Cloudsmith repo rpm --import 'https://dl.cloudsmith.io/public/vespa/open-source-rpms/gpg.0F3DA3C70D35DA7B.key' curl -1sLf 'https://dl.cloudsmith.io/public/vespa/open-source-rpms/config.rpm.txt?distro=el&codename=8' > /tmp/vespa-open-source-rpms.repo -dnf install 'dnf-command(config-manager)' +dnf install -y 'dnf-command(config-manager)' dnf config-manager --add-repo '/tmp/vespa-open-source-rpms.repo' rm -f /tmp/vespa-open-source-rpms.repo