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:
|
env:
|
||||||
REGISTRY: pipe.gohorsejobs.com
|
REGISTRY: pipe.gohorsejobs.com
|
||||||
IMAGE_NAMESPACE: bohessefm
|
IMAGE_NAMESPACE: bohessefm
|
||||||
DOCKER_API_VERSION: "1.43"
|
|
||||||
DOCKER_MTU: 1200
|
DOCKER_MTU: 1200
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
@ -24,10 +23,6 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Check Docker availability
|
- name: Check Docker availability
|
||||||
run: |
|
run: |
|
||||||
if ! command -v docker >/dev/null 2>&1; then
|
|
||||||
echo "❌ Docker CLI not found in runner"
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
docker version
|
docker version
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
|
@ -68,17 +63,17 @@ jobs:
|
||||||
needs: build-and-push
|
needs: build-and-push
|
||||||
runs-on:
|
runs-on:
|
||||||
- self-hosted
|
- self-hosted
|
||||||
- docker-ready
|
- ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: sh
|
shell: sh
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Install kubectl (no package manager)
|
- name: Install kubectl
|
||||||
run: |
|
run: |
|
||||||
if ! command -v kubectl >/dev/null 2>&1; then
|
if ! command -v kubectl >/dev/null 2>&1; then
|
||||||
wget -qO /usr/local/bin/kubectl \
|
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
|
chmod +x /usr/local/bin/kubectl
|
||||||
fi
|
fi
|
||||||
kubectl version --client
|
kubectl version --client
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue