install kubectl if not available
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 22s
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 22s
This commit is contained in:
@@ -78,11 +78,7 @@ jobs:
|
||||
|
||||
- name: Install kubectl
|
||||
run: |
|
||||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
||||
chmod +x kubectl
|
||||
mkdir -p "$HOME/bin"
|
||||
mv kubectl "$HOME/bin/"
|
||||
echo "$HOME/bin" >> $GITHUB_PATH
|
||||
apk add --no-cache kubectl
|
||||
|
||||
- name: Setup kubectl
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user