Skip to content

Commit

Permalink
Clarify description of registries input
Browse files Browse the repository at this point in the history
  • Loading branch information
aeisenberg committed Sep 6, 2022
1 parent bf97a6d commit 0f06c56
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions init/action.yml
Expand Up @@ -15,18 +15,20 @@ inputs:
required: false
registries:
description: |
Use this input only when you need to download CodeQL packages from another instance of GitHub. If you only need to download packages from this GitHub instance, use the token input instead.
A YAML string that defines the list of GitHub container registries to use for downloading packs. The string is in the following form (the | is required on the first line):
registries: |
- url: https://containers.GHEHOSTNAME1/v2/
packages:
- my-company/*
- my-company2/*
token: ${{ secrets.GHEHOSTNAME1_TOKEN }}
token: \$\{{ secrets.GHEHOSTNAME1_TOKEN }}
- url: https://ghcr.io/v2/
packages: */*
token: ${{ secrets.GHCR_TOKEN }}
token: \$\{{ secrets.GHCR_TOKEN }}
The url property contains the URL to the container registry you want to connect to.
Expand Down

0 comments on commit 0f06c56

Please sign in to comment.