This is an automated email from the ASF dual-hosted git repository.
lhotari pushed a commit to branch branch-3.0
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/branch-3.0 by this push:
new 7da3e1dfb6f [fix][ci][branch-3.0] Fix issue in GitHub Actions when
/etc/docker/daemon.json file doesn't exist
7da3e1dfb6f is described below
commit 7da3e1dfb6f0bfcfc30a3fe3ee7d9276921cf711
Author: Lari Hotari <[email protected]>
AuthorDate: Thu Jul 17 16:54:00 2025 +0300
[fix][ci][branch-3.0] Fix issue in GitHub Actions when
/etc/docker/daemon.json file doesn't exist
---
.github/actions/tune-runner-vm/action.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/actions/tune-runner-vm/action.yml
b/.github/actions/tune-runner-vm/action.yml
index 7e5f77f9a83..74d40c0bfb3 100644
--- a/.github/actions/tune-runner-vm/action.yml
+++ b/.github/actions/tune-runner-vm/action.yml
@@ -79,7 +79,7 @@ runs:
# enable docker experimental mode which is
# required for using "docker build --squash" /
"-Ddocker.squash=true"
- daemon_json="$(sudo cat /etc/docker/daemon.json | jq
'.experimental = true')"
+ daemon_json="$(sudo cat /etc/docker/daemon.json || echo '{}' | jq
'.experimental = true')"
echo "$daemon_json" | sudo tee /etc/docker/daemon.json
# restart docker daemon
sudo systemctl restart docker