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
|
- name: Install kubectl
|
||||||
run: |
|
run: |
|
||||||
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
|
apk add --no-cache kubectl
|
||||||
chmod +x kubectl
|
|
||||||
mkdir -p "$HOME/bin"
|
|
||||||
mv kubectl "$HOME/bin/"
|
|
||||||
echo "$HOME/bin" >> $GITHUB_PATH
|
|
||||||
|
|
||||||
- name: Setup kubectl
|
- name: Setup kubectl
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user