mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-13 02:42:14 +01:00
ci(workflows): multiple jobs multiple architectures build and push
This commit is contained in:
58
.github/workflows/continuous-delivery.yml
vendored
Normal file
58
.github/workflows/continuous-delivery.yml
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
name: Continuous Delivery
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [ published ]
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
release_amd64:
|
||||
name: Release linux/amd64
|
||||
uses: ./.github/workflows/gotenberg-build-push.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
runs_on: 'ubuntu-latest'
|
||||
platform: 'linux/amd64'
|
||||
gotenberg_version: ${{ github.event.release.tag_name }}
|
||||
|
||||
release_386:
|
||||
name: Release linux/386
|
||||
uses: ./.github/workflows/gotenberg-build-push.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
runs_on: 'ubuntu-latest'
|
||||
platform: 'linux/386'
|
||||
gotenberg_version: ${{ github.event.release.tag_name }}
|
||||
|
||||
release_arm64:
|
||||
name: Release linux/arm64
|
||||
uses: ./.github/workflows/gotenberg-build-push.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
runs_on: 'ubuntu-24.04-arm'
|
||||
platform: 'linux/arm64'
|
||||
gotenberg_version: ${{ github.event.release.tag_name }}
|
||||
|
||||
release_arm_v7:
|
||||
name: Release linux/arm/v7
|
||||
uses: ./.github/workflows/gotenberg-build-push.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
runs_on: 'ubuntu-24.04-arm'
|
||||
platform: 'linux/arm/v7'
|
||||
gotenberg_version: ${{ github.event.release.tag_name }}
|
||||
|
||||
merge_clean_release_tags:
|
||||
needs:
|
||||
- release_amd64
|
||||
- release_386
|
||||
- release_arm64
|
||||
- release_arm_v7
|
||||
name: Merge and clean release tags
|
||||
uses: ./.github/workflows/gotenberg-merge-clean.yml
|
||||
secrets: inherit
|
||||
with:
|
||||
tags: "${{ needs.release_amd64.outputs.tags }},${{ needs.release_386.outputs.tags }},${{ needs.release_arm64.outputs.tags }},${{ needs.release_arm_v7.outputs.tags }}"
|
||||
alternate_registry: 'thecodingmachine'
|
||||
Reference in New Issue
Block a user