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