mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
- rules-warning.yml: remove trailing blank line - pr-test.yml: quote 'on' key for yaml truthy, add newline at EOF - add .yamllint config to ignore SOPS-encrypted secrets (line-length unfixable without re-encrypting)
30 lines
608 B
YAML
30 lines
608 B
YAML
name: PR Test
|
|
|
|
"on":
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
- main
|
|
|
|
jobs:
|
|
test:
|
|
strategy:
|
|
matrix:
|
|
distro:
|
|
- alpine
|
|
- archlinux
|
|
- fedora
|
|
- ubuntu
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- name: Set up QEMU
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
- name: Only build
|
|
run: |
|
|
docker buildx build --platform linux/amd64 --output "type=image,push=false" -f tests/Dockerfile-${{ matrix.distro }} .
|