Remove download redirects, use cdn.dl.k8s.io domain (#219)

dl.k8s.io redirects to cdn.dl.k8s.io which somehow results in constants download errors on a self-hosted runner in the UAE region. Other regions were not affected. Updating the domains fixed the issue
This commit is contained in:
Felix Mohr 2026-02-10 20:12:12 +01:00 committed by GitHub
parent a0bf2818e7
commit f366ff3801
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 8 deletions

View file

@ -12,7 +12,7 @@ import {
const kubectlToolName = 'kubectl'
const stableKubectlVersion = 'v1.15.0'
const stableVersionUrl = 'https://dl.k8s.io/release/stable.txt'
const stableVersionUrl = 'https://cdn.dl.k8s.io/release/stable.txt'
export async function run() {
let version = core.getInput('version', {required: true})