mirror of
https://github.com/kerberos-io/agent.git
synced 2026-08-23 15:08:32 +00:00
Build and verify MoQ images on amd64 and arm64 pull requests, and document MoQ Docker build and runtime configuration.
32 lines
751 B
YAML
32 lines
751 B
YAML
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 |