From bac63937f5d9b21ad7496fa9eb3eff64f828b4ad Mon Sep 17 00:00:00 2001 From: Harish P Date: Thu, 16 Jan 2025 19:56:21 +0530 Subject: [PATCH] Added release action (#124) Co-authored-by: Francis Nijay --- .github/workflows/release.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..f6524aa --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,22 @@ +name: Release Cert-CSI +# Invocable as a reusable workflow +# Can be manually triggered +on: # yamllint disable-line rule:truthy + workflow_call: + workflow_dispatch: + inputs: + version: + description: 'Version to release (major, minor, patch), Example: 1.x.x' + required: true + image: + description: 'Image name. Example: cert-csi' + default: 'cert-csi' + required: true +jobs: + csm-release: + uses: dell/common-github-actions/.github/workflows/csm-release-driver-module.yaml@main + name: Release CSM Drivers and Modules + with: + version: ${{ github.event.inputs.version }} + image: ${{ github.event.inputs.image }} + secrets: inherit