From cbeb3e22c8f0908bdd83f241ce1c7b8c738f0006 Mon Sep 17 00:00:00 2001 From: Cliffano Subagio Date: Mon, 15 Jul 2024 21:08:00 +1000 Subject: [PATCH] Try mapping entrypoint.sh file directly. --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 7675888..4533fa7 100644 --- a/action.yml +++ b/action.yml @@ -28,4 +28,4 @@ runs: - name: Run Docker container shell: bash run: | - docker run --rm -v "/var/run/docker.sock":"/var/run/docker.sock" -v .:/ --name local_container local_image:8.8.8 "${{ inputs.command }}" + docker run --rm -v "/var/run/docker.sock":"/var/run/docker.sock" -v ${PWD}/entrypoint.sh:/entrypoint.sh --name local_container local_image:8.8.8 "${{ inputs.command }}"