ajustes novos
This commit is contained in:
parent
96b1da9dce
commit
b75f2af64f
1 changed files with 3 additions and 8 deletions
|
|
@ -9,7 +9,6 @@ on:
|
|||
env:
|
||||
REGISTRY: pipe.gohorsejobs.com
|
||||
IMAGE_NAMESPACE: bohessefm
|
||||
DOCKER_API_VERSION: "1.43"
|
||||
DOCKER_MTU: 1200
|
||||
|
||||
jobs:
|
||||
|
|
@ -24,10 +23,6 @@ jobs:
|
|||
steps:
|
||||
- name: Check Docker availability
|
||||
run: |
|
||||
if ! command -v docker >/dev/null 2>&1; then
|
||||
echo "❌ Docker CLI not found in runner"
|
||||
exit 1
|
||||
fi
|
||||
docker version
|
||||
|
||||
- name: Checkout code
|
||||
|
|
@ -68,17 +63,17 @@ jobs:
|
|||
needs: build-and-push
|
||||
runs-on:
|
||||
- self-hosted
|
||||
- docker-ready
|
||||
- ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
shell: sh
|
||||
|
||||
steps:
|
||||
- name: Install kubectl (no package manager)
|
||||
- name: Install kubectl
|
||||
run: |
|
||||
if ! command -v kubectl >/dev/null 2>&1; then
|
||||
wget -qO /usr/local/bin/kubectl \
|
||||
https://dl.k8s.io/release/v1.30.0/bin/linux/amd64/kubectl || exit 1
|
||||
https://dl.k8s.io/release/v1.30.0/bin/linux/amd64/kubectl
|
||||
chmod +x /usr/local/bin/kubectl
|
||||
fi
|
||||
kubectl version --client
|
||||
|
|
|
|||
Loading…
Reference in a new issue