glyphance/.github/workflows/test.yaml
2022-11-21 16:03:17 +01:00

29 lines
531 B
YAML

name: Build Docker image
on:
pull_request:
push:
branches:
- "main"
concurrency:
group: test
cancel-in-progress: true
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
with:
install: true
- name: Build and push
uses: docker/build-push-action@v3
with:
platforms: linux/amd64,linux/arm64
push: false