Skip to content

Conversation

@jacobtomlinson
Copy link
Member

The Kubernetes version update script has been failing in CI for a while with DockerHub giving an auth error. I expect this is related to some rate-limiting of the GitHub Actions runners.

Loading Kubernetes tags from https://hub.docker.com/r/kindest/node/tags...
    response = self.parent.error(
               ^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 559, in error
    return self._call_chain(*args)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 492, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/lib/python3.12/urllib/request.py", line 639, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden

This PR allows you to set a personal access token for DockerHub which should avoid this in the future. I also updated the action to only run on the kr8s-org/kr8s repo and not on forks.

@github-actions github-actions bot added the ci label Nov 19, 2025
@jacobtomlinson jacobtomlinson merged commit d5f8960 into kr8s-org:main Nov 19, 2025
3 of 4 checks passed
@jacobtomlinson jacobtomlinson deleted the dockerhub-auth branch November 19, 2025 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant