mirror of
https://github.com/project-zot/zot.git
synced 2024-12-16 21:56:37 -05:00
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 <aaaron@luxoft.com>
This commit is contained in:
parent
f867819d63
commit
dd1c73cadd
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ecosystem-tools.yaml
vendored
4
.github/workflows/ecosystem-tools.yaml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue