1
0
mirror of synced 2026-01-06 06:02:35 -05:00

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

Co-authored-by: Martin Lopes <martin389@github.com>
This commit is contained in:
Avinal Kumar
2021-01-19 12:44:11 +05:30
committed by GitHub
parent d1ef194548
commit 58c63b1626

View File

@@ -175,7 +175,7 @@ Now you're ready to test your action out in a workflow. When an action is in a p
#### Example using a public action
The following workflow code uses the completed hello world action in the public [`actions/hello-world-docker-action`](https://github.com/actions/hello-world-docker-action) repository. Copy the following workflow example code into a `.github/workflows/main.yml` file, but replace the `actions/hello-world-docker-action` with your repository and action name. You can also replace the `who-to-greet` input with your name. Public actions can be used with or without publishing to marketplace. Publishing a public action requires you to add a release version tag.
The following workflow code uses the completed _hello world_ action in the public [`actions/hello-world-docker-action`](https://github.com/actions/hello-world-docker-action) repository. Copy the following workflow example code into a `.github/workflows/main.yml` file, but replace the `actions/hello-world-docker-action` with your repository and action name. You can also replace the `who-to-greet` input with your name. Public actions can be used even if they're not published to {% data variables.product.prodname_marketplace %}. For more information, see "[Publishing an action](/actions/creating-actions/publishing-actions-in-github-marketplace#publishing-an-action)."
{% raw %}
**.github/workflows/main.yml**