Skip to content

Commit

Permalink
Use matrix builds for
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenMayer committed Nov 17, 2023
1 parent 057728b commit 1aaf675
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ on:
tags:
- '*'

env:
TARGET_DISTRO: ubuntu-20.04

jobs:
docker:
strategy:
matrix:
TARGET_DISTRO: [ "ubuntu-20.04" ]
runs-on: ubuntu-latest
container:
image: ghcr.io/kontextwork/zimbra-builder:${{ env.TARGET_DISTRO }}
image: ghcr.io/kontextwork/zimbra-builder:${{ matrix.TARGET_DISTRO }}
steps:
- run: |
mkdir -p /root/.ivy2/cache
Expand All @@ -28,13 +28,13 @@ jobs:
cd /home/git/zimbra-build-scripts/
./zimbra-build-helper.sh --build-zimbra
- run: ls -la /home/git/zimbra/BUILDS
- run: mv /home/git/zimbra/BUILDS/UBUNTU20_64*/zcs-*.tgz /home/git/zimbra/BUILDS/zimbra-${{ github.ref_name }}-${{ env.TARGET_DISTRO }}.tgz
- run: mv /home/git/zimbra/BUILDS/UBUNTU20_64*/zcs-*.tgz /home/git/zimbra/BUILDS/zimbra-${{ github.ref_name }}-${{ matrix.TARGET_DISTRO }}.tgz
- name: Release
uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: ${{ github.token }}
prerelease: false
automatic_release_tag: ${{ github.ref_name }}
files: |
/home/git/zimbra/BUILDS/zimbra-${{ github.ref_name }}-${{ env.TARGET_DISTRO }}.tgz
/home/git/zimbra/BUILDS/zimbra-${{ github.ref_name }}-${{ matrix.TARGET_DISTRO }}.tgz

0 comments on commit 1aaf675

Please sign in to comment.