44 lines
856 B
YAML
44 lines
856 B
YAML
name: Test Server Build
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- server/**
|
|
- .github/workflows/server_test.yml
|
|
|
|
jobs:
|
|
server-test-amd64:
|
|
name: Test Server Build
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Build Docker image
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: ./server
|
|
platforms: linux/amd64
|
|
|
|
server-test-arm64:
|
|
name: Test Server Build
|
|
runs-on: ubuntu-24.04-arm
|
|
permissions:
|
|
contents: read
|
|
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0
|
|
|
|
- name: Build Docker image
|
|
uses: docker/build-push-action@v6
|
|
with:
|
|
context: ./server
|
|
platforms: linux/arm64
|