Skip to content

Commit b0e69f9

Browse files
committed
Clarify description of registries input
1 parent bf97a6d commit b0e69f9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

init/action.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,20 @@ inputs:
1515
required: false
1616
registries:
1717
description: |
18+
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.
19+
1820
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):
1921
2022
registries: |
2123
- url: https://containers.GHEHOSTNAME1/v2/
2224
packages:
2325
- my-company/*
2426
- my-company2/*
25-
token: ${{ secrets.GHEHOSTNAME1_TOKEN }}
27+
token: \${{ secrets.GHEHOSTNAME1_TOKEN }}
2628
2729
- url: https://ghcr.io/v2/
2830
packages: */*
29-
token: ${{ secrets.GHCR_TOKEN }}
31+
token: \${{ secrets.GHCR_TOKEN }}
3032
3133
The url property contains the URL to the container registry you want to connect to.
3234

0 commit comments

Comments
 (0)