Clarify description of registries input

This commit is contained in:
Andrew Eisenberg 2022-09-06 10:45:02 -07:00
parent bf97a6da5b
commit 376fea671d
6 changed files with 12 additions and 14 deletions

View file

@ -15,6 +15,8 @@ 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: |
@ -22,11 +24,11 @@ inputs:
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.