Skip to content

Commit c22772f

Browse files
authored
Merge pull request #15768 from nikola-jokic/patch-5
Added explanation about args passed to container
2 parents c2c1213 + 9e60aad commit c22772f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ runs:
9696
```
9797
{% endraw %}
9898

99-
This metadata defines one `who-to-greet` input and one `time` output parameter. To pass inputs to the Docker container, you must declare the input using `inputs` and pass the input in the `args` keyword.
99+
This metadata defines one `who-to-greet` input and one `time` output parameter. To pass inputs to the Docker container, you should declare the input using `inputs` and pass the input in the `args` keyword. Everything you include in `args` is passed to the container, but for better discoverability for users of your action, we recommended using inputs.
100100

101101
{% data variables.product.prodname_dotcom %} will build an image from your `Dockerfile`, and run commands in a new container using this image.
102102

0 commit comments

Comments
 (0)