Files
detections/.gitea/workflows/build.yml
T
Oleksandr Bezdieniezhnykh d41b42c00d Comment out amd64 matrix
Made-with: Cursor
2026-04-09 23:33:18 +03:00

23 lines
636 B
YAML

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 }}