mirror of
https://github.com/azaion/detections.git
synced 2026-04-22 22:06:32 +00:00
d41b42c00d
Made-with: Cursor
23 lines
636 B
YAML
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 }}
|