blob: 496d4f73d6ea76bf3be686bde4b53e84561f9b3c [file] [log] [blame]
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +01001name: Build mailcow Docker Images
2
3on:
4 push:
5 branches: [ "master", "staging" ]
6 workflow_dispatch:
7
8permissions:
9 contents: read # to fetch code (actions/checkout)
10
11jobs:
12 docker_image_builds:
13 strategy:
14 matrix:
15 images:
16 - "acme-mailcow"
17 - "clamd-mailcow"
18 - "dockerapi-mailcow"
19 - "dovecot-mailcow"
20 - "netfilter-mailcow"
21 - "olefy-mailcow"
22 - "php-fpm-mailcow"
23 - "postfix-mailcow"
24 - "rspamd-mailcow"
25 - "sogo-mailcow"
26 - "solr-mailcow"
27 - "unbound-mailcow"
28 - "watchdog-mailcow"
29 runs-on: ubuntu-latest
30 steps:
Matthias Andreas Benkardd1f5b682023-11-18 13:18:30 +010031 - uses: actions/checkout@v4
Matthias Andreas Benkard1ba53812022-12-27 17:32:58 +010032 - name: Setup Docker
33 run: |
34 curl -sSL https://get.docker.com/ | CHANNEL=stable sudo sh
35 sudo service docker start
36 - name: Prepair Image Builds
37 run: |
38 cp helper-scripts/docker-compose.override.yml.d/BUILD_FLAGS/docker-compose.override.yml docker-compose.override.yml
39 - name: Build Docker Images
40 run: |
41 docker compose build ${image}
42 env:
43 image: ${{ matrix.images }}