mirror of
https://github.com/harivansh-afk/agentikube.git
synced 2026-04-15 17:00:58 +00:00
help release fix
This commit is contained in:
parent
165ac465e7
commit
081739b9a3
3 changed files with 21 additions and 54 deletions
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
|
|
@ -9,6 +9,7 @@ on:
|
|||
|
||||
permissions:
|
||||
contents: write
|
||||
packages: write
|
||||
|
||||
concurrency:
|
||||
group: release-${{ github.ref }}
|
||||
|
|
@ -29,6 +30,9 @@ jobs:
|
|||
with:
|
||||
go-version-file: go.mod
|
||||
|
||||
- name: Setup Helm
|
||||
uses: azure/setup-helm@v4
|
||||
|
||||
- name: Compute next version
|
||||
id: version
|
||||
shell: bash
|
||||
|
|
@ -93,3 +97,17 @@ jobs:
|
|||
name: ${{ steps.version.outputs.next_tag }}
|
||||
generate_release_notes: true
|
||||
files: dist/*
|
||||
|
||||
- name: Set chart version
|
||||
run: |
|
||||
sed -i "s/^version:.*/version: ${{ steps.version.outputs.version }}/" chart/agentikube/Chart.yaml
|
||||
sed -i "s/^appVersion:.*/appVersion: \"${{ steps.version.outputs.version }}\"/" chart/agentikube/Chart.yaml
|
||||
|
||||
- name: Package Helm chart
|
||||
run: helm package chart/agentikube/ --destination .helm-pkg
|
||||
|
||||
- name: Log in to GHCR
|
||||
run: echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin
|
||||
|
||||
- name: Push Helm chart to GHCR
|
||||
run: helm push .helm-pkg/agentikube-${{ steps.version.outputs.version }}.tgz oci://ghcr.io/${{ github.repository_owner }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue