From 07984e4c18d1943aa13ccfab1319f089e620268c Mon Sep 17 00:00:00 2001 From: Marcus Date: Sat, 31 Jan 2026 13:54:50 -0300 Subject: [PATCH] ajustes novos --- .forgejo/workflows/deploy.yaml | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 52112c9..7c6a231 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -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