From ec585bf4b11be92d464fe4a5a43fd95f26e304a5 Mon Sep 17 00:00:00 2001 From: Joe Clark <31087804+jc-clark@users.noreply.github.com> Date: Wed, 28 Sep 2022 12:45:37 -0700 Subject: [PATCH] Update content/actions/creating-actions/creating-a-docker-container-action.md --- .../creating-a-docker-container-action.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/content/actions/creating-actions/creating-a-docker-container-action.md b/content/actions/creating-actions/creating-a-docker-container-action.md index cfb19047d5..6520a213eb 100644 --- a/content/actions/creating-actions/creating-a-docker-container-action.md +++ b/content/actions/creating-actions/creating-a-docker-container-action.md @@ -123,14 +123,8 @@ Next, the script gets the current time and sets it as an output variable that ac 1. Make your `entrypoint.sh` file executable. Git provides a way to explicitly change the permission mode of a file so that it doesn’t get reset every time there is a clone/fork. -Git provides a way to explicitly change the permission mode of a file so that it doesn't get reset every time there is a clone/fork. -
The command works as below. - ```shell{:copy} - $ git update-index --chmod=+x entrypoint.sh - ``` - -The permission mode of the file in the git index can be checked by running following command. + $ git update-index —chmod=+x entrypoint.sh ```shell{:copy} $ git ls-files --stage entrypoint.sh