ci: add arch based download for cri-dockered
when we moved to minikube github action from script based installation, we missed adding check for different arch. Now, with current check it should work for all arch. Signed-off-by: subhamkrai <srai@redhat.com>
This commit is contained in:
1 parent
4c3050beec
commit
358bb84a33
1 file changed
+4
-3
@@ -25,9 +25,10 @@ runs:
|
||||
- name: Install cri-dockerd
|
||||
shell: bash --noprofile --norc -eo pipefail -x {0}
|
||||
run: |
|
||||
curl -LO https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.21/cri-dockerd_0.3.21.3-0.ubuntu-focal_amd64.deb
|
||||
sudo dpkg -i cri-dockerd_0.3.21.3-0.ubuntu-focal_amd64.deb
|
||||
rm -f cri-dockerd_0.3.21.3-0.ubuntu-focal_amd64.deb
|
||||
ARCH=$(go env GOARCH)
|
||||
curl -LO https://github.com/Mirantis/cri-dockerd/releases/download/v0.3.21/cri-dockerd_0.3.21.3-0.ubuntu-focal_${ARCH}.deb
|
||||
sudo dpkg -i cri-dockerd_0.3.21.3-0.ubuntu-focal_${ARCH}.deb
|
||||
rm -f cri-dockerd_0.3.21.3-0.ubuntu-focal_${ARCH}.deb
|
||||
|
||||
- name: Setup Minikube
|
||||
uses: medyagh/setup-minikube@latest
|
||||
|
||||
Reference in new issue
Block a user