Switch to Woodpecker CI

Made-with: Cursor
This commit is contained in:
Oleksandr Bezdieniezhnykh
2026-04-10 01:28:47 +03:00
parent d41b42c00d
commit cd1c1855d9
2 changed files with 14 additions and 22 deletions
-22
View File
@@ -1,22 +0,0 @@
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
dockerfile: Dockerfile.jetson
# - arch: amd64
# tag: amd64
# dockerfile: Dockerfile
steps:
- uses: actions/checkout@v4
- run: |
docker build -f ${{ matrix.dockerfile }} -t localhost:5000/detections:${{ github.ref_name }}-${{ matrix.tag }} .
docker push localhost:5000/detections:${{ github.ref_name }}-${{ matrix.tag }}
+14
View File
@@ -0,0 +1,14 @@
when:
branch: [stage, main]
labels:
platform: arm64
steps:
- name: build-push
image: docker
commands:
- docker build -f Dockerfile.jetson -t localhost:5000/detections:${CI_COMMIT_BRANCH}-arm .
- docker push localhost:5000/detections:${CI_COMMIT_BRANCH}-arm
volumes:
- /var/run/docker.sock:/var/run/docker.sock