name: PR Gate

# This gate simply validates that we can build the docker container.

on:
  pull_request:
    branches: ["main"]

jobs:
  build:
    runs-on: blacksmith-4vcpu-ubuntu-2404
    permissions:
      contents: read
    steps:
      - name: Checkout repository
        uses: actions/checkout@v4
        with:
          submodules: "true"

      - name: Build Docker image
        id: build
        uses: useblacksmith/build-push-action@v2
        with:
          context: .
