From 74f84aaee7a5d814f73e427e5841fec6a5d550ae Mon Sep 17 00:00:00 2001 From: Oleksandr Bezdieniezhnykh Date: Thu, 9 Apr 2026 19:18:02 +0300 Subject: [PATCH] Remove Woodpecker CI configuration file to simplify build process and eliminate unused settings. --- .gitea/workflows/build.yml | 20 ++++++++++++++++++++ .woodpecker.yml | 25 ------------------------- 2 files changed, 20 insertions(+), 25 deletions(-) create mode 100644 .gitea/workflows/build.yml delete mode 100644 .woodpecker.yml diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..a35e6d9 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,20 @@ +name: build +on: + push: + branches: [stage, main] + workflow_dispatch: +jobs: + build: + runs-on: [self-hosted, linux, "${{ matrix.arch }}"] + strategy: + matrix: + include: + - arch: arm64 + tag: arm + - arch: amd64 + tag: amd64 + steps: + - uses: actions/checkout@v4 + - run: | + docker build -f Dockerfile -t localhost:5000/autopilot:${{ github.ref_name }}-${{ matrix.tag }} . + docker push localhost:5000/autopilot:${{ github.ref_name }}-${{ matrix.tag }} diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index ed6811c..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -1,25 +0,0 @@ -when: - branch: [stage, main] - event: push - -matrix: - include: - - PLATFORM: linux/arm64 - TAG: arm - - PLATFORM: linux/amd64 - TAG: amd64 - -labels: - platform: ${PLATFORM} - -steps: - - name: build-and-push - image: plugins/docker - settings: - dockerfile: Dockerfile - context: . - repo: registry:5000/autopilot - tags: - - "${CI_COMMIT_BRANCH}-${TAG}" - - "${CI_COMMIT_SHA:0:8}-${TAG}" - insecure: true