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 46c02b0 commit 3c6df82
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 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: csi-metadata-retriever'
default: 'csi-metadata-retriever'
required: true
option:
description: 'Select version to release'

Check failure on line 9 in .github/workflows/release.yaml

View workflow job for this annotation

GitHub Actions / Golang Validation / Yaml Lint

9:11 [indentation] wrong indentation: expected 8 but found 10
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-metadata-retriever'
secrets: inherit

0 comments on commit 3c6df82

Please sign in to comment.