diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 96c29e0..32d3685 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -5,18 +5,20 @@ 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: csi-volumegroup-snapshotter' - default: 'csi-volumegroup-snapshotter' + option: + description: 'Select version to release' required: true + type: choice + default: 'minor' + options: + - major + - minor + - patch 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 }} + version: ${{ github.event.inputs.option }} + images: 'csi-volumegroup-snapshotter' secrets: inherit