|
|
@ -113,10 +113,10 @@ jobs:
|
|
|
|
echo "MAILU_VERSION=${{ inputs.mailu_version }}" >> $GITHUB_ENV
|
|
|
|
echo "MAILU_VERSION=${{ inputs.mailu_version }}" >> $GITHUB_ENV
|
|
|
|
echo "PINNED_MAILU_VERSION=${{ inputs.pinned_mailu_version }}" >> $GITHUB_ENV
|
|
|
|
echo "PINNED_MAILU_VERSION=${{ inputs.pinned_mailu_version }}" >> $GITHUB_ENV
|
|
|
|
echo "DOCKER_ORG=${{ inputs.docker_org }}" >> $GITHUB_ENV
|
|
|
|
echo "DOCKER_ORG=${{ inputs.docker_org }}" >> $GITHUB_ENV
|
|
|
|
- name: Configure actions/cache@v3 action for storing build cache in the /tmp/cache folder
|
|
|
|
- name: Configure actions/cache@v3 action for storing build cache in the ${{ RUNNER_TEMP }}/cache folder
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/${{ matrix.target }}
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/${{ matrix.target }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-${{ matrix.target }}-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-${{ matrix.target }}-${{ github.run_id }}
|
|
|
|
restore-keys: |
|
|
|
|
restore-keys: |
|
|
|
|
${{ github.ref }}-${{ inputs.mailu_version }}-${{ matrix.target }}
|
|
|
|
${{ github.ref }}-${{ inputs.mailu_version }}-${{ matrix.target }}
|
|
|
@ -142,8 +142,8 @@ jobs:
|
|
|
|
load: false
|
|
|
|
load: false
|
|
|
|
push: false
|
|
|
|
push: false
|
|
|
|
set: |
|
|
|
|
set: |
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/${{ matrix.target }}
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/${{ matrix.target }}
|
|
|
|
*.cache-to=type=local,dest=/tmp/cache/${{ matrix.target }},mode=max
|
|
|
|
*.cache-to=type=local,dest=${{ RUNNER_TEMP }}/cache/${{ matrix.target }},mode=max
|
|
|
|
*.platform=${{ inputs.architecture }}
|
|
|
|
*.platform=${{ inputs.architecture }}
|
|
|
|
|
|
|
|
|
|
|
|
# This job builds all the images. The build cache is stored in the github actions cache.
|
|
|
|
# This job builds all the images. The build cache is stored in the github actions cache.
|
|
|
@ -170,10 +170,10 @@ jobs:
|
|
|
|
echo "MAILU_VERSION=${{ inputs.mailu_version }}" >> $GITHUB_ENV
|
|
|
|
echo "MAILU_VERSION=${{ inputs.mailu_version }}" >> $GITHUB_ENV
|
|
|
|
echo "PINNED_MAILU_VERSION=${{ inputs.pinned_mailu_version }}" >> $GITHUB_ENV
|
|
|
|
echo "PINNED_MAILU_VERSION=${{ inputs.pinned_mailu_version }}" >> $GITHUB_ENV
|
|
|
|
echo "DOCKER_ORG=${{ inputs.docker_org }}" >> $GITHUB_ENV
|
|
|
|
echo "DOCKER_ORG=${{ inputs.docker_org }}" >> $GITHUB_ENV
|
|
|
|
- name: Configure actions/cache@v3 action for storing build cache in the /tmp/cache folder
|
|
|
|
- name: Configure actions/cache@v3 action for storing build cache in the ${{ RUNNER_TEMP }}/cache folder
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/${{ matrix.target }}
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/${{ matrix.target }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-${{ matrix.target }}-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-${{ matrix.target }}-${{ github.run_id }}
|
|
|
|
restore-keys: |
|
|
|
|
restore-keys: |
|
|
|
|
${{ github.ref }}-${{ inputs.mailu_version }}-${{ matrix.target }}
|
|
|
|
${{ github.ref }}-${{ inputs.mailu_version }}-${{ matrix.target }}
|
|
|
@ -199,8 +199,8 @@ jobs:
|
|
|
|
load: false
|
|
|
|
load: false
|
|
|
|
push: false
|
|
|
|
push: false
|
|
|
|
set: |
|
|
|
|
set: |
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/${{ matrix.target }}
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/${{ matrix.target }}
|
|
|
|
*.cache-to=type=local,dest=/tmp/cache/${{ matrix.target }},mode=max
|
|
|
|
*.cache-to=type=local,dest=${{ RUNNER_TEMP }}/cache/${{ matrix.target }},mode=max
|
|
|
|
*.platform=${{ inputs.architecture }}
|
|
|
|
*.platform=${{ inputs.architecture }}
|
|
|
|
|
|
|
|
|
|
|
|
# This job runs all the tests.
|
|
|
|
# This job runs all the tests.
|
|
|
@ -237,72 +237,72 @@ jobs:
|
|
|
|
- name: Configure /cache for image docs
|
|
|
|
- name: Configure /cache for image docs
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/docs
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/docs
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-docs-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-docs-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image setup
|
|
|
|
- name: Configure /cache for image setup
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/setup
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/setup
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-setup-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-setup-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image admin
|
|
|
|
- name: Configure /cache for image admin
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/admin
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/admin
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-admin-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-admin-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image antispam
|
|
|
|
- name: Configure /cache for image antispam
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/antispam
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/antispam
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antispam-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antispam-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image front
|
|
|
|
- name: Configure /cache for image front
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/front
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/front
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-front-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-front-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image imap
|
|
|
|
- name: Configure /cache for image imap
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/imap
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/imap
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-imap-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-imap-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image smtp
|
|
|
|
- name: Configure /cache for image smtp
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/smtp
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/smtp
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-smtp-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-smtp-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image snappymail
|
|
|
|
- name: Configure /cache for image snappymail
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/snappymail
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/snappymail
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-snappymail-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-snappymail-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image roundcube
|
|
|
|
- name: Configure /cache for image roundcube
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/roundcube
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/roundcube
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-roundcube-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-roundcube-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image antivirus
|
|
|
|
- name: Configure /cache for image antivirus
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/antivirus
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/antivirus
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antivirus-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antivirus-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image fetchmail
|
|
|
|
- name: Configure /cache for image fetchmail
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/fetchmail
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/fetchmail
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-fetchmail-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-fetchmail-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image resolver
|
|
|
|
- name: Configure /cache for image resolver
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/resolver
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/resolver
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-resolver-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-resolver-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image traefik-certdumper
|
|
|
|
- name: Configure /cache for image traefik-certdumper
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/traefik-certdumper
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/traefik-certdumper
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-traefik-certdumper-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-traefik-certdumper-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image webdav
|
|
|
|
- name: Configure /cache for image webdav
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/webdav
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/webdav
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-webdav-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-webdav-${{ github.run_id }}
|
|
|
|
- name: Set up QEMU
|
|
|
|
- name: Set up QEMU
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
@ -325,20 +325,20 @@ jobs:
|
|
|
|
load: true
|
|
|
|
load: true
|
|
|
|
push: false
|
|
|
|
push: false
|
|
|
|
set: |
|
|
|
|
set: |
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/docs
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/docs
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/setup
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/setup
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/admin
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/admin
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/antispam
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/antispam
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/front
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/front
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/imap
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/imap
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/smtp
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/smtp
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/snappymail
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/snappymail
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/roundcube
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/roundcube
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/antivirus
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/antivirus
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/fetchmail
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/fetchmail
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/resolver
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/resolver
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/traefik-certdumper
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/traefik-certdumper
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/webdav
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/webdav
|
|
|
|
*.platform=${{ inputs.architecture }}
|
|
|
|
*.platform=${{ inputs.architecture }}
|
|
|
|
- name: Install python packages
|
|
|
|
- name: Install python packages
|
|
|
|
run: python3 -m pip install -r tests/requirements.txt
|
|
|
|
run: python3 -m pip install -r tests/requirements.txt
|
|
|
@ -373,72 +373,72 @@ jobs:
|
|
|
|
- name: Configure /cache for image docs
|
|
|
|
- name: Configure /cache for image docs
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/docs
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/docs
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-docs-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-docs-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image setup
|
|
|
|
- name: Configure /cache for image setup
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/setup
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/setup
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-setup-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-setup-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image admin
|
|
|
|
- name: Configure /cache for image admin
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/admin
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/admin
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-admin-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-admin-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image antispam
|
|
|
|
- name: Configure /cache for image antispam
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/antispam
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/antispam
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antispam-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antispam-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image front
|
|
|
|
- name: Configure /cache for image front
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/front
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/front
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-front-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-front-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image imap
|
|
|
|
- name: Configure /cache for image imap
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/imap
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/imap
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-imap-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-imap-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image smtp
|
|
|
|
- name: Configure /cache for image smtp
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/smtp
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/smtp
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-smtp-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-smtp-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image snappymail
|
|
|
|
- name: Configure /cache for image snappymail
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/snappymail
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/snappymail
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-snappymail-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-snappymail-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image roundcube
|
|
|
|
- name: Configure /cache for image roundcube
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/roundcube
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/roundcube
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-roundcube-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-roundcube-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image antivirus
|
|
|
|
- name: Configure /cache for image antivirus
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/antivirus
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/antivirus
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antivirus-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antivirus-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image fetchmail
|
|
|
|
- name: Configure /cache for image fetchmail
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/fetchmail
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/fetchmail
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-fetchmail-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-fetchmail-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image resolver
|
|
|
|
- name: Configure /cache for image resolver
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/resolver
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/resolver
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-resolver-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-resolver-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image traefik-certdumper
|
|
|
|
- name: Configure /cache for image traefik-certdumper
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/traefik-certdumper
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/traefik-certdumper
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-traefik-certdumper-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-traefik-certdumper-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image webdav
|
|
|
|
- name: Configure /cache for image webdav
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/webdav
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/webdav
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-webdav-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-webdav-${{ github.run_id }}
|
|
|
|
- name: Set up QEMU
|
|
|
|
- name: Set up QEMU
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
@ -460,20 +460,20 @@ jobs:
|
|
|
|
files: ${{env.HCL_FILE}}
|
|
|
|
files: ${{env.HCL_FILE}}
|
|
|
|
push: true
|
|
|
|
push: true
|
|
|
|
set: |
|
|
|
|
set: |
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/docs
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/docs
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/setup
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/setup
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/admin
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/admin
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/antispam
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/antispam
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/front
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/front
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/imap
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/imap
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/smtp
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/smtp
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/snappymail
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/snappymail
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/roundcube
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/roundcube
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/antivirus
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/antivirus
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/fetchmail
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/fetchmail
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/resolver
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/resolver
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/traefik-certdumper
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/traefik-certdumper
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/webdav
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/webdav
|
|
|
|
*.platform=${{ inputs.architecture }}
|
|
|
|
*.platform=${{ inputs.architecture }}
|
|
|
|
|
|
|
|
|
|
|
|
deploy-arm:
|
|
|
|
deploy-arm:
|
|
|
@ -495,72 +495,72 @@ jobs:
|
|
|
|
- name: Configure /cache for image docs
|
|
|
|
- name: Configure /cache for image docs
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/docs
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/docs
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-docs-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-docs-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image setup
|
|
|
|
- name: Configure /cache for image setup
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/setup
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/setup
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-setup-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-setup-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image admin
|
|
|
|
- name: Configure /cache for image admin
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/admin
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/admin
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-admin-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-admin-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image antispam
|
|
|
|
- name: Configure /cache for image antispam
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/antispam
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/antispam
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antispam-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antispam-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image front
|
|
|
|
- name: Configure /cache for image front
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/front
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/front
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-front-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-front-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image imap
|
|
|
|
- name: Configure /cache for image imap
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/imap
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/imap
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-imap-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-imap-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image smtp
|
|
|
|
- name: Configure /cache for image smtp
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/smtp
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/smtp
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-smtp-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-smtp-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image snappymail
|
|
|
|
- name: Configure /cache for image snappymail
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/snappymail
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/snappymail
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-snappymail-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-snappymail-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image roundcube
|
|
|
|
- name: Configure /cache for image roundcube
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/roundcube
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/roundcube
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-roundcube-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-roundcube-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image antivirus
|
|
|
|
- name: Configure /cache for image antivirus
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/antivirus
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/antivirus
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antivirus-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-antivirus-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image fetchmail
|
|
|
|
- name: Configure /cache for image fetchmail
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/fetchmail
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/fetchmail
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-fetchmail-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-fetchmail-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image resolver
|
|
|
|
- name: Configure /cache for image resolver
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/resolver
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/resolver
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-resolver-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-resolver-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image traefik-certdumper
|
|
|
|
- name: Configure /cache for image traefik-certdumper
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/traefik-certdumper
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/traefik-certdumper
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-traefik-certdumper-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-traefik-certdumper-${{ github.run_id }}
|
|
|
|
- name: Configure /cache for image webdav
|
|
|
|
- name: Configure /cache for image webdav
|
|
|
|
uses: actions/cache@v3
|
|
|
|
uses: actions/cache@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
|
path: /tmp/cache/webdav
|
|
|
|
path: ${{ RUNNER_TEMP }}/cache/webdav
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-webdav-${{ github.run_id }}
|
|
|
|
key: ${{ github.ref }}-${{ inputs.mailu_version }}-webdav-${{ github.run_id }}
|
|
|
|
- name: Set up QEMU
|
|
|
|
- name: Set up QEMU
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
|
uses: docker/setup-qemu-action@v2
|
|
|
@ -582,20 +582,20 @@ jobs:
|
|
|
|
files: ${{env.HCL_FILE}}
|
|
|
|
files: ${{env.HCL_FILE}}
|
|
|
|
push: true
|
|
|
|
push: true
|
|
|
|
set: |
|
|
|
|
set: |
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/docs
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/docs
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/setup
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/setup
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/admin
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/admin
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/antispam
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/antispam
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/front
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/front
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/imap
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/imap
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/smtp
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/smtp
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/snappymail
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/snappymail
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/roundcube
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/roundcube
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/antivirus
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/antivirus
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/fetchmail
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/fetchmail
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/resolver
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/resolver
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/traefik-certdumper
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/traefik-certdumper
|
|
|
|
*.cache-from=type=local,src=/tmp/cache/webdav
|
|
|
|
*.cache-from=type=local,src=${{ RUNNER_TEMP }}/cache/webdav
|
|
|
|
*.platform=${{ inputs.architecture }}
|
|
|
|
*.platform=${{ inputs.architecture }}
|
|
|
|
|
|
|
|
|
|
|
|
#This job creates a tagged release. A tag is created for the pinned version x.y.z. The GH release refers to this tag.
|
|
|
|
#This job creates a tagged release. A tag is created for the pinned version x.y.z. The GH release refers to this tag.
|
|
|
|