diff --git a/content/actions/reference/workflow-syntax-for-github-actions.md b/content/actions/reference/workflow-syntax-for-github-actions.md index a13f44a2b48d..f529c8db07d5 100644 --- a/content/actions/reference/workflow-syntax-for-github-actions.md +++ b/content/actions/reference/workflow-syntax-for-github-actions.md @@ -590,11 +590,26 @@ jobs: uses: docker://alpine:3.8 ``` -#### Example using a Docker public registry action +{% if currentVersion == "free-pro-team@latest" %} +##### Example using the {% data variables.product.prodname_github_container_registry %} `docker://{host}/{image}:{tag}` -A Docker image in a public registry. +A Docker image in the {% data variables.product.prodname_github_container_registry %}. + +```yaml +jobs: + my_first_job: + steps: + - name: My first step + uses: docker://ghcr.io/OWNER/IMAGE_NAME +``` +{% endif %} +##### Example using a Docker public registry action + +`docker://{host}/{image}:{tag}` + +A Docker image in a public registry. This example uses the Google Container Registry at `gcr.io`. ```yaml jobs: