mirror of
https://github.com/docker-mailserver/docker-mailserver
synced 2024-05-30 16:06:06 +02:00
2f538daf0f
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 2 to 2.4.0. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v2...v2.4.0) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Georg Lauterbach <44545919+aendeavor@users.noreply.github.com>
38 lines
849 B
YAML
38 lines
849 B
YAML
name: "Test Merge Requests"
|
|
|
|
on:
|
|
pull_request:
|
|
paths:
|
|
- 'target/**'
|
|
- 'test/**'
|
|
- '.dockerignore'
|
|
- '.gitmodules'
|
|
- 'Dockerfile'
|
|
- 'setup.sh'
|
|
|
|
jobs:
|
|
build-and-test:
|
|
runs-on: ubuntu-20.04
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v2
|
|
with:
|
|
submodules: recursive
|
|
- name: Build image locally
|
|
uses: docker/build-push-action@v2.4.0
|
|
with:
|
|
context: .
|
|
file: ./Dockerfile
|
|
build-args: |
|
|
VCS_REF=${{ github.sha }}
|
|
VCS_VER=${{ github.ref }}
|
|
platforms: linux/amd64
|
|
load: true
|
|
tags: mailserver-testing:ci
|
|
- name: Run test suite
|
|
run: >
|
|
NAME=mailserver-testing:ci
|
|
bash -c 'make generate-accounts tests'
|
|
env:
|
|
CI: true
|