ajustes novos
This commit is contained in:
parent
a083383121
commit
07984e4c18
1 changed files with 6 additions and 17 deletions
|
|
@ -10,7 +10,6 @@ env:
|
|||
REGISTRY: pipe.gohorsejobs.com
|
||||
IMAGE_NAMESPACE: bohessefm
|
||||
DOCKER_API_VERSION: "1.43"
|
||||
DOCKER_BUILDKIT: 1
|
||||
DOCKER_MTU: 1200
|
||||
|
||||
jobs:
|
||||
|
|
@ -21,17 +20,10 @@ jobs:
|
|||
shell: sh
|
||||
|
||||
steps:
|
||||
- name: Ensure curl is installed (minimal)
|
||||
- name: Install required tools (docker-cli + curl)
|
||||
run: |
|
||||
command -v curl >/dev/null 2>&1 || apk add --no-cache curl
|
||||
|
||||
- name: Install Docker Buildx (REQUIRED for BuildKit)
|
||||
run: |
|
||||
mkdir -p ~/.docker/cli-plugins
|
||||
curl -L https://github.com/docker/buildx/releases/download/v0.13.1/docker-buildx-linux-amd64 \
|
||||
-o ~/.docker/cli-plugins/docker-buildx
|
||||
chmod +x ~/.docker/cli-plugins/docker-buildx
|
||||
docker buildx version
|
||||
apk add --no-cache docker-cli curl
|
||||
docker version
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
|
@ -40,7 +32,6 @@ jobs:
|
|||
run: |
|
||||
echo "${{ secrets.FORGEJO_TOKEN }}" | docker login ${{ env.REGISTRY }} \
|
||||
-u ${{ env.IMAGE_NAMESPACE }} --password-stdin
|
||||
docker info
|
||||
|
||||
- name: Build Backend
|
||||
run: |
|
||||
|
|
@ -76,16 +67,14 @@ jobs:
|
|||
shell: sh
|
||||
|
||||
steps:
|
||||
- name: Ensure curl is installed (minimal)
|
||||
run: |
|
||||
command -v curl >/dev/null 2>&1 || apk add --no-cache curl
|
||||
|
||||
- name: Install kubectl
|
||||
- name: Install tools (curl + kubectl)
|
||||
run: |
|
||||
apk add --no-cache curl
|
||||
K8S_VERSION=$(curl -s https://dl.k8s.io/release/stable.txt)
|
||||
curl -L -o /usr/local/bin/kubectl \
|
||||
https://dl.k8s.io/release/${K8S_VERSION}/bin/linux/amd64/kubectl
|
||||
chmod +x /usr/local/bin/kubectl
|
||||
kubectl version --client
|
||||
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
|
|
|||
Loading…
Reference in a new issue