From a570f3f3c610c71937a1ba4433bb52c632cc56f0 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 24 Aug 2025 03:46:14 +0000 Subject: [PATCH] dev --- action.yml | 4 +++- entrypoint.sh | 4 ++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 322ac23..1800b57 100644 --- a/action.yml +++ b/action.yml @@ -13,4 +13,6 @@ inputs: runs: using: "docker" - image: "docker://ghcr.io/${{ github.repository }}:latest" + image: "docker://git.coocn.cn/actions/nerdctl-compose:latest" + options: > + -v /run/containerd/containerd.sock:/run/containerd/containerd.sock diff --git a/entrypoint.sh b/entrypoint.sh index e60736d..64b3da1 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,5 +1,9 @@ #!/bin/bash set -e +whoami +ls -l /run/containerd || true +ls -l /var/run/docker || true + echo "Running nerdctl compose with file: $INPUT_FILE" exec nerdctl compose -f "$INPUT_FILE" $INPUT_ARGS