File tree Expand file tree Collapse file tree
content/actions/reference Expand file tree Collapse file tree Original file line number Diff line number Diff 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
600615jobs:
You can’t perform that action at this time.
0 commit comments