From 4de145bf7d6d9c84d577b4acae8029cdd763fb52 Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Wed, 14 Feb 2024 22:51:58 +0000 Subject: [PATCH] set workflow_call --- .github/workflows/iso.yml | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/.github/workflows/iso.yml b/.github/workflows/iso.yml index 8d19003..e45e6c7 100644 --- a/.github/workflows/iso.yml +++ b/.github/workflows/iso.yml @@ -1,14 +1,24 @@ name: Create and publish an ISO on: - push: - branches: - - 'main' - tags: - - 'v*' - pull_request: + workflow_call: + inputs: + IMAGE_VERSION: + required: true + type: string + IMAGE_ARCH: + required: true + type: string + IMAGE_NAME: + required: true + type: string + IMAGE_REPO: + required: true + type: string + VARIANT: + required: true + type: string - env: IMAGE_VERSION: ${{ github.event.inputs.IMAGE_VERSION || '39' }} IMAGE_ARCH: ${{ github.event.inputs.IMAGE_ARCH || 'x86_64' }}