Add MoQ image build workflow

Build and verify MoQ images on amd64 and arm64 pull requests, and document MoQ Docker build and runtime configuration.
This commit is contained in:
Cédric Verstraeten
2026-08-05 20:54:06 +02:00
parent 4395fe2417
commit 8f04a6d42f
2 changed files with 56 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
name: Build MoQ image
on:
pull_request:
paths:
- Dockerfile.moq
- machinery/**
- ui/**
- .github/workflows/moq-build.yml
workflow_dispatch:
jobs:
build:
name: MoQ (${{ matrix.architecture }})
runs-on: ${{ matrix.runner }}
strategy:
matrix:
include:
- architecture: amd64
runner: ubuntu-24.04
- architecture: arm64
runner: ubuntu-24.04-arm
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build image
run: docker build --file Dockerfile.moq --tag agent-moq:${{ matrix.architecture }} .
- name: Verify binary
run: docker run --rm agent-moq:${{ matrix.architecture }} ./main -action version