1
1
Fork 0
mirror of https://github.com/docker-mailserver/docker-mailserver synced 2024-05-30 06:56:06 +02:00
docker-mailserver/.github/workflows/test_merge_requests.yml
Brennan Kinney edaeb89c9b
ci: Drop support for ARM v7 platform (#2943)
This platform has had a deprecation notice for 6 months. It is not worth continuing to maintain support for.
2022-12-23 14:56:36 +13:00

38 lines
1.0 KiB
YAML

name: 'Test Merge Requests'
on:
workflow_dispatch:
pull_request:
paths:
- target/**
- test/**
- .dockerignore
- .gitmodules
- Dockerfile
- setup.sh
permissions:
contents: read
jobs:
build-image-amd64:
name: 'Build AMD64 Image'
uses: docker-mailserver/docker-mailserver/.github/workflows/generic_build.yml@master
run-tests:
name: 'Test AMD64 Image'
needs: build-image-amd64
uses: docker-mailserver/docker-mailserver/.github/workflows/generic_test.yml@master
with:
cache-key: ${{ needs.build-image-amd64.outputs.build-cache-key }}
job-build-arm:
name: 'Build ARM64 Image'
# Dependency ensures the cache-key is only created for AMD64 builds.
# ARM64 will not be able to use this cache, building from scratch each time.
# Expect about 2 minutes extra build time until adopting `type=gha` with scopes for cache.
needs: build-image-amd64
uses: docker-mailserver/docker-mailserver/.github/workflows/generic_build.yml@master
with:
platforms: linux/arm64