From dd1c73caddc535dfe6502a67c7557eead2c163cd Mon Sep 17 00:00:00 2001 From: Andrei Aaron Date: Wed, 15 Nov 2023 20:13:20 +0200 Subject: [PATCH] build(workflows): make sure we install the crio package matching the correct ubuntu version (#2048) The GH runner with name ubuntu-latest is at the moment running Ubuntu 22.04, The workflow was picking the package for Ubuntu 20.04 Signed-off-by: Andrei Aaron --- .github/workflows/ecosystem-tools.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ecosystem-tools.yaml b/.github/workflows/ecosystem-tools.yaml index c27183a5..de2238bf 100644 --- a/.github/workflows/ecosystem-tools.yaml +++ b/.github/workflows/ecosystem-tools.yaml @@ -36,10 +36,10 @@ jobs: sudo cp bin/skopeo /usr/bin skopeo -v # install cri-o (for crictl) - OS=xUbuntu_20.04 + OS=xUbuntu_22.04 CRIO_VERSION=1.26 echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/ /"|sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list - echo "deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$CRIO_VERSION/$OS/ /"|sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable:cri-o:$CRIO_VERSION.list + echo "deb https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$CRIO_VERSION/$OS/ /"|sudo tee /etc/apt/sources.list.d/devel:kubic:libcontainers:stable:cri-o:$CRIO_VERSION.list curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/$CRIO_VERSION/$OS/Release.key | sudo apt-key add - curl -L https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/$OS/Release.key | sudo apt-key add - sudo apt update