Skip to content

Commit

Permalink
Use single release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Moti Asayag <[email protected]>
  • Loading branch information
masayag committed Mar 31, 2024
1 parent 0106bd2 commit 5616f00
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 86 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/greeting.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/move2kube.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/mta.yaml

This file was deleted.

22 changes: 8 additions & 14 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: Reusable Workflow to release Helm Charts
name: Release Workflows Charts

on:
workflow_call:
inputs:
workflow_id:
required: true
type: string
workflow_dispatch:
push:
branches:
- main
paths:
- "charts/**"

jobs:
release:
Expand All @@ -21,14 +22,7 @@ jobs:
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v3

- name: Release ${{ inputs.workflow_id }} chart
- name: Run chart-releaser
uses: helm/[email protected]
with:
skip_existing: true
charts_dir: charts/${{ inputs.workflow_id }}/charts
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

18 changes: 0 additions & 18 deletions .github/workflows/workflows.yaml

This file was deleted.

0 comments on commit 5616f00

Please sign in to comment.