Skip to content

Commit

Permalink
finish release
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenMayer committed Nov 17, 2023
1 parent 68da86f commit da98908
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:

env:
IMAGE_FQDN: ghcr.io/kontextwork/zimbra-builder
# actually that's the distro to build ON and FOR
TARGET_DISTO: ubuntu:20.04

jobs:
docker:
Expand Down Expand Up @@ -38,6 +40,6 @@ jobs:
push: true
build-args: |
# actually that's the distro to build ON and FOR
RELEASE=ubuntu:20.04
RELEASE=${{ env.TARGET_DISTRO }}
tags: |
${{ env.IMAGE_FQDN }}:latest
5 changes: 5 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ jobs:
image: ghcr.io/kontextwork/zimbra-builder:latest
steps:
- run: mv /home/git/zimbra-build-scripts/config.build.10 /home/git/zimbra-build-scripts/config.build
- run: |
mv /home/git/zimbra-build-scripts/config.build.10 /home/git/zimbra-build-scripts/config.build
echo "inject zimbra version ${{ github.ref_name }}"
sed -i 's/.*BUILD_RELEASE_NO =.*/BUILD_RELEASE_NO = ${{ github.ref_name }}/' /home/git/zimbra-build-scripts/config.build
cat /home/git/zimbra-build-scripts/config.build
- run: /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_02*/zcs-*.tgz /home/git/zimbra/BUILDS/zimbra-${{ github.ref_name }}.tgz
Expand Down

0 comments on commit da98908

Please sign in to comment.