blob: aa56b038185027e2ee03e68feeef29633bf80451 [file] [log] [blame]
Matthias Andreas Benkard3c18a082022-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"
Matthias Andreas Benkard3c18a082022-12-27 17:32:58 +010026 - "unbound-mailcow"
27 - "watchdog-mailcow"
28 runs-on: ubuntu-latest
29 steps:
Matthias Andreas Benkard97f12022026-10-23 08:46:40 +020030 - uses: actions/checkout@v7
Matthias Andreas Benkard3c18a082022-12-27 17:32:58 +010031 - name: Setup Docker
32 run: |
33 curl -sSL https://get.docker.com/ | CHANNEL=stable sudo sh
34 sudo service docker start
35 - name: Prepair Image Builds
36 run: |
37 cp helper-scripts/docker-compose.override.yml.d/BUILD_FLAGS/docker-compose.override.yml docker-compose.override.yml
38 - name: Build Docker Images
39 run: |
40 docker compose build ${image}
41 env:
42 image: ${{ matrix.images }}