Skip to content

adding diff_opts to allow adding aditional helm diff options. (#125) #6

adding diff_opts to allow adding aditional helm diff options. (#125)

adding diff_opts to allow adding aditional helm diff options. (#125) #6

Workflow file for this run

name: Tag Main
on:
push:
branches:
- main
paths:
- VERSION
workflow_dispatch: # Enable manual triggering
inputs:
tag:
description: 'Version to tag (without the prefix v)'
required: false
jobs:
tag:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Get version from file
id: get_version
run: echo "version=$(cat VERSION)" >> $GITHUB_OUTPUT
- name: Create tag
id: create_tag
run: |
git config user.name "GitHub Actions"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git tag -a v${{ github.event.inputs.tag || steps.get_version.outputs.version }} -m "Tagging version v${{ github.event.inputs.tag || steps.get_version.outputs.version }}"
git push origin v${{ github.event.inputs.tag || steps.get_version.outputs.version }}