test of deployment use kubectl fix
Some checks failed
Build and Push Docker Image / build-and-push (push) Failing after 5s

This commit is contained in:
Richard Mrasek
2026-06-12 08:46:24 +02:00
parent 9acae349c4
commit 8e667848c9

View File

@@ -76,6 +76,14 @@ jobs:
docker push "${IMAGE_REPO}:latest" docker push "${IMAGE_REPO}:latest"
docker push "${IMAGE_REPO}:${SHORT_SHA}" docker push "${IMAGE_REPO}:${SHORT_SHA}"
- 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
- name: Setup kubectl - name: Setup kubectl
run: | run: |
mkdir -p "${HOME}/.kube" mkdir -p "${HOME}/.kube"