Skip to content

Commit

Permalink
Updated release action
Browse files Browse the repository at this point in the history
  • Loading branch information
harishp8889 committed Feb 5, 2025
1 parent 3476aff commit 2b5e071
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: csm-metrics-powerstore'
default: 'csm-metrics-powerstore'
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: 'csm-metrics-powerstore'
secrets: inherit

0 comments on commit 2b5e071

Please sign in to comment.