Skip to content

More details for newbies #974

Closed
@AlexiyOrlov

Description

@AlexiyOrlov

What article on docs.github.com is affected?

https://docs.github.com/en/free-pro-team@latest/actions/creating-actions/creating-a-docker-container-action

What part(s) of the article would you like to see updated?

As a total newbie to actions and Docker, I made a couple of silly mistakes when trying out the example.
First, in the entrypoint.sh file, I wrote -1 instead of -l.
Second, the docker couldn't run the .sh file because of permissions, so I had to add RUN chmod +x /entrypoint.sh to the dockerfile.
Also line uses: actions/hello-world-docker-action@v1 shows how to use published action. You should add that unpublished action is used via uses: [username]/[reponame]@version.
So I think these 3 things should be pointed out there.

Metadata

Metadata

Assignees

Labels

actionsThis issue or pull request should be reviewed by the docs actions teamgood first issueGood for newcomershelp wantedAnyone is welcome to open a pull request to fix this issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions