From a367740cad364db83c8bca30ecb2e3cbe1aaa3e0 Mon Sep 17 00:00:00 2001 From: S1m <31284753+p1gp1g@users.noreply.github.com> Date: Sun, 22 Dec 2024 23:06:26 +0100 Subject: [PATCH] Fix release workflow with ubuntu 24+ --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d4e24a3..2f62c79 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,7 +56,7 @@ jobs: - name: Set Up containerd image store shell: bash run: | - cat /etc/docker/daemon.json | jq '. | .+{"features": {"containerd-snapshotter": true}}' | sudo tee /etc/docker/daemon.json + ( cat /etc/docker/daemon.json || echo '{}' ) | jq '. | .+{"features": {"containerd-snapshotter": true}}' | sudo tee /etc/docker/daemon.json sudo systemctl restart docker - name: Login to GitHub Container Registry