File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,14 +39,12 @@ jobs:
3939 sudo apt-get install -y containerd
4040 sudo systemctl start containerd
4141
42- # Install nerdctl
43- NERDCTL_VERSION=2.0.2
44- curl -sSL "https://github.com/containerd/nerdctl/releases/download/v${NERDCTL_VERSION}/nerdctl-${NERDCTL_VERSION}-linux-amd64.tar.gz" | sudo tar -xz -C /usr/local/bin
45-
46- # Install CNI plugins
47- CNI_VERSION=1.6.1
42+ # Install nerdctl full (includes containerd, CNI plugins, buildkit)
43+ NERDCTL_VERSION=2.2.1
44+ curl -fsSL "https://github.com/containerd/nerdctl/releases/download/v${NERDCTL_VERSION}/nerdctl-full-${NERDCTL_VERSION}-linux-amd64.tar.gz" -o /tmp/nerdctl.tar.gz
45+ sudo tar -xzf /tmp/nerdctl.tar.gz -C /usr/local
4846 sudo mkdir -p /opt/cni/bin
49- curl -sSL "https://github.com/containernetworking/plugins/releases/download/v${CNI_VERSION}/ cni-plugins-linux-amd64-v${CNI_VERSION}.tgz" | sudo tar -xz -C /opt/cni/bin
47+ sudo cp /usr/local/libexec/ cni/* /opt/cni/bin/ 2>/dev/null || true
5048
5149 - name : Log in to GHCR
5250 run : |
You can’t perform that action at this time.
0 commit comments