mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2024-12-23 02:04:46 +02:00
8e87e76dcf
Signed-off-by: milkmaker <milkmaker@mailcow.de> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
name: Build mailcow Docker Images
|
|
|
|
on:
|
|
push:
|
|
branches: [ "master", "staging" ]
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read # to fetch code (actions/checkout)
|
|
|
|
jobs:
|
|
docker_image_builds:
|
|
strategy:
|
|
matrix:
|
|
images:
|
|
- "acme-mailcow"
|
|
- "clamd-mailcow"
|
|
- "dockerapi-mailcow"
|
|
- "dovecot-mailcow"
|
|
- "netfilter-mailcow"
|
|
- "olefy-mailcow"
|
|
- "php-fpm-mailcow"
|
|
- "postfix-mailcow"
|
|
- "rspamd-mailcow"
|
|
- "sogo-mailcow"
|
|
- "solr-mailcow"
|
|
- "unbound-mailcow"
|
|
- "watchdog-mailcow"
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Docker
|
|
run: |
|
|
curl -sSL https://get.docker.com/ | CHANNEL=stable sudo sh
|
|
sudo service docker start
|
|
- name: Prepair Image Builds
|
|
run: |
|
|
cp helper-scripts/docker-compose.override.yml.d/BUILD_FLAGS/docker-compose.override.yml docker-compose.override.yml
|
|
- name: Build Docker Images
|
|
run: |
|
|
docker compose build ${image}
|
|
env:
|
|
image: ${{ matrix.images }}
|