From fbc1bbe726cef8e3f665b04a99cc035fe47208ea Mon Sep 17 00:00:00 2001 From: Cliffano Subagio Date: Mon, 15 Jul 2024 21:10:14 +1000 Subject: [PATCH] List files as part of Dockerfile. --- Dockerfile | 2 ++ action.yml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index cb4173e..25fa974 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,5 @@ ARG IMAGE=alpine:3.20 FROM ${IMAGE} +COPY entrypoint.sh /entrypoint.sh +RUN ls -al ENTRYPOINT ["/entrypoint.sh"] \ No newline at end of file diff --git a/action.yml b/action.yml index 4533fa7..9a44364 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 ${PWD}/entrypoint.sh:/entrypoint.sh --name local_container local_image:8.8.8 "${{ inputs.command }}" + docker run --rm -v "/var/run/docker.sock":"/var/run/docker.sock" --name local_container local_image:8.8.8 "${{ inputs.command }}"