Skip to content

Commit 0395d18

Browse files
authored
repo sync
2 parents b1ec6c9 + fdca57c commit 0395d18

1 file changed

Lines changed: 17 additions & 2 deletions

File tree

content/actions/reference/workflow-syntax-for-github-actions.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -590,11 +590,26 @@ jobs:
590590
uses: docker://alpine:3.8
591591
```
592592

593-
#### Example using a Docker public registry action
593+
{% if currentVersion == "free-pro-team@latest" %}
594+
##### Example using the {% data variables.product.prodname_github_container_registry %}
594595

595596
`docker://{host}/{image}:{tag}`
596597

597-
A Docker image in a public registry.
598+
A Docker image in the {% data variables.product.prodname_github_container_registry %}.
599+
600+
```yaml
601+
jobs:
602+
my_first_job:
603+
steps:
604+
- name: My first step
605+
uses: docker://ghcr.io/OWNER/IMAGE_NAME
606+
```
607+
{% endif %}
608+
##### Example using a Docker public registry action
609+
610+
`docker://{host}/{image}:{tag}`
611+
612+
A Docker image in a public registry. This example uses the Google Container Registry at `gcr.io`.
598613

599614
```yaml
600615
jobs:

0 commit comments

Comments
 (0)