1
0
mirror of synced 2025-12-30 03:01:36 -05:00

Update content/actions/creating-actions/creating-a-docker-container-action.md

This commit is contained in:
Joe Clark
2022-09-28 12:45:37 -07:00
committed by GitHub
parent e3f9d2cc37
commit ec585bf4b1

View File

@@ -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 doesnt 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.
<br>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