Skip to content

Commit

Permalink
implement release mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
corymurphy committed Oct 8, 2024
1 parent 82f83d0 commit caade43
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,20 @@ jobs:
echo ${{ github.token }} | helm registry login --username ${{ github.actor }} --password-stdin ghcr.io/corymurphy
helm push ".packages/${name}-${version}.tgz" oci://ghcr.io/corymurphy/helm-charts
github:
runs-on: ubuntu-latest
needs: [docker, helm]
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- name: get release version
if: github.ref_name == github.event.repository.default_branch
run: |
echo "version=$(awk '{print $1}' version)" >> $GITHUB_ENV
- uses: softprops/action-gh-release@v2
if: github.ref_name == github.event.repository.default_branch
with:
tag_name: ${{ env.version }}
4 changes: 2 additions & 2 deletions charts/argobot/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: argobot
description: Helm chart for the corymurphy/argobot app
type: application
version: 0.8.0
appVersion: 0.8.0
version: 0.8.1
appVersion: 0.8.1
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.0
0.8.1

0 comments on commit caade43

Please sign in to comment.