Skip to content

Commit

Permalink
try using the basic template at https://github.com/helm/chart-release…
Browse files Browse the repository at this point in the history
  • Loading branch information
LostVector committed Nov 5, 2024
1 parent e7db599 commit 0d7d6af
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 43 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/dev-pr-merge.yaml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/push-release-helm-charts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release Helm Charts

on:
push:
branches:
- main
workflow_dispatch: # Allows manual triggering

jobs:
release-helm-charts:
permissions:
contents: write
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Install Helm
uses: azure/setup-helm@v4
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

# https://github.com/helm/chart-releaser-action
- name: Run chart-releaser
uses: helm/[email protected]
with:
charts_dir: charts
skip_upload: false
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion charts/vespa/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.2.3
version: 0.2.4

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down

0 comments on commit 0d7d6af

Please sign in to comment.