Skip to content

Commit

Permalink
use subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenMayer committed Nov 17, 2023
1 parent 2677620 commit bf24f75
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Build builder
uses: docker/build-push-action@v3
with:
context: .
context: zimbra-build-scripts
platforms: linux/amd64
push: true
build-args: |
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: build-and-push

on:
push:
tags:
- '*'

env:
IMAGE_FQDN: ghcr.io/eugenmayer/traefik

jobs:
docker:
runs-on: ubuntu-latest
container:
image: ghcr.io/kontextwork/zimbra-builder:latest
steps:
- 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
- uses: actions/create-release@v1
id: create_release
with:
draft: false
prerelease: true
release_name: ${{ github.ref_name }}
tag_name: ${{ github.ref_name }}
- name: upload linux artifact
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ github.token }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: /home/git/zimbra/BUILDS/zimbra-${{ github.ref_name }}.tgz
asset_name: zimbra-${{ github.ref_name }}.tgz
asset_content_type: application/gzip1

0 comments on commit bf24f75

Please sign in to comment.