-
Notifications
You must be signed in to change notification settings - Fork 63
Bug: kubectl for amd64 was not found #88
Copy link
Copy link
Open
Labels
Description
What happened?
I'm running the following step on my github workflow and got an error telling that the version '1.28.2' for 'amd64' was not found.
- name: install kubectl
uses: azure/setup-kubectl@v3
i've tried to downgrade the version adding the following, but got the same error:
with:
version: '1.28.2'`
The error is strange because reaching the download link locally on my machine works correctly.
Version
- I am using the latest version
Runner
ubuntu-latest
Relevant log output
##[debug]Evaluating condition for step: 'install kubectl'
##[debug]Evaluating: success()
##[debug]Evaluating success:
##[debug]=> true
##[debug]Result: true
##[debug]Starting: install kubectl
##[debug]Loading inputs
##[debug]Loading env
Run azure/setup-kubectl@v3
##[debug]Downloading https://storage.googleapis.com/kubernetes-release/release/stable.txt
##[debug]Destination /home/runner/work/_temp/8ed25fc3-ddb3-4b8b-847a-244571e4a0e9
##[debug]download complete
##[debug]isExplicit: 1.28.3
##[debug]explicit? true
##[debug]checking cache: /opt/hostedtoolcache/kubectl/1.28.3/x64
##[debug]not found
##[debug]Downloading https://dl.k8s.io/release/v1.28.3/bin/linux/amd64/kubectl
##[debug]Destination /home/runner/work/_temp/50d81c8f-95cc-4889-8d7a-ab8d1a2da771
##[debug]Failed to download from "https://dl.k8s.io/release/v1.28.3/bin/linux/amd64/kubectl". Code(404) Message(Not Found)
Error: Error: Kubectl 'v1.28.3' for 'amd64' arch not found.
##[debug]Node Action run completed with exit code 1
##[debug]Finishing: install kubectl
Reactions are currently unavailable
