Skip to content

Commit

Permalink
Update image-version-update.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
gilltaran authored Feb 4, 2025
1 parent 9915e39 commit 1e78ac1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/image-version-update.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2024 Dell Inc., or its subsidiaries. All Rights Reserved.
# Copyright (c) 2025 Dell Inc., or its subsidiaries. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand All @@ -11,6 +11,10 @@ name: Image Version Update

on: # yamllint disable-line rule:truthy
workflow_dispatch:
inputs:
version:
description: "Version to release (major, minor, patch) Ex: minor"
required: true
repository_dispatch:
types: [image-update-workflow]

Expand All @@ -19,5 +23,5 @@ jobs:
image-version-update:
uses: dell/common-github-actions/.github/workflows/image-version-workflow.yaml@main
with:
version: "minor"
version: "${{ github.event.inputs.version || 'minor' }}"
secrets: inherit

0 comments on commit 1e78ac1

Please sign in to comment.