Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/helm-charts-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:

permissions:
contents: write
packages: write

run-name: ${{ github.repository }} Release ${{ inputs.release }}

Expand All @@ -17,7 +18,14 @@ concurrency:
cancel-in-progress: true

jobs:
publish-artifacts:
uses: ./.github/workflows/publish.yaml
with:
tag: ${{ inputs.release }}
secrets: inherit

github-release:
needs: [publish-artifacts]
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,20 @@ on:
push:
branches:
- 'main'
workflow_dispatch:
inputs:
tag:
description: "Release tag to publish (e.g. v0.35.2)"
required: true
type: string
workflow_call:
inputs:
tag:
description: "Release tag to publish (e.g. v0.35.2)"
required: true
type: string
env:
TAG_NAME: ${{ github.event.release.tag_name || (github.ref == 'refs/heads/main' && 'main') }}
TAG_NAME: ${{ inputs.tag || github.event.release.tag_name || (github.ref == 'refs/heads/main' && 'main') }}

jobs:
publish-docker:
Expand Down
Loading