Skip to content

Commit 75521f2

Browse files
Jonathan D.A. Jewellclaude
andcommitted
Fix nerdctl version (use 2.2.1 full package)
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent f3e65f3 commit 75521f2

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/ghcr-publish.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)