mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 08:36:29 +00:00
45d9fafdf9
Made-with: Cursor
21 lines
552 B
YAML
21 lines
552 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
|
|
# - arch: amd64
|
|
# tag: amd64
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- run: |
|
|
docker build -f src/Dockerfile -t localhost:5000/annotations:${{ github.ref_name }}-${{ matrix.tag }} src/
|
|
docker push localhost:5000/annotations:${{ github.ref_name }}-${{ matrix.tag }}
|