1
0
mirror of synced 2026-01-02 12:04:38 -05:00

Merge pull request #15768 from nikola-jokic/patch-5

Added explanation about args passed to container
This commit is contained in:
Ramya Parimi
2022-03-30 09:49:59 -05:00
committed by GitHub

View File

@@ -96,7 +96,7 @@ runs:
```
{% endraw %}
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.
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.
{% data variables.product.prodname_dotcom %} will build an image from your `Dockerfile`, and run commands in a new container using this image.