diff --git a/.github/scripts/render-readme.py b/.github/scripts/render-readme.py index 92f40f9..9ca7578 100644 --- a/.github/scripts/render-readme.py +++ b/.github/scripts/render-readme.py @@ -25,9 +25,9 @@ def get_folder_names(directory: str) -> List[str]: def get_headers() -> dict: """Return the headers for the requests.get call.""" - token = os.getenv("GITHUB_TOKEN") + token = os.getenv("GHCR_TOKEN") if not token: - raise ValueError("Missing environment variable: GITHUB_TOKEN") + raise ValueError("Missing environment variable: GHCR_TOKEN") return { "Accept": "application/vnd.github.v3+json", "Authorization": f"token {token}", diff --git a/.github/scripts/templates/README.md.j2 b/.github/scripts/templates/README.md.j2 index 64a79cb..407cbac 100644 --- a/.github/scripts/templates/README.md.j2 +++ b/.github/scripts/templates/README.md.j2 @@ -7,7 +7,7 @@