Skip to content

Commit

Permalink
image version update release action (#260)
Browse files Browse the repository at this point in the history
Co-authored-by: Meghana GM <[email protected]>
  • Loading branch information
gilltaran and meggm authored Feb 28, 2025
1 parent 9f32b28 commit b4e631e
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/image-version-update.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# 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.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0

# Reusable workflow to perform image version update on Golang based projects
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]

jobs:
# image version update
image-version-update:
uses: dell/common-github-actions/.github/workflows/image-version-workflow.yaml@main
with:
version: "${{ github.event.inputs.version || 'minor' }}"
secrets: inherit

0 comments on commit b4e631e

Please sign in to comment.