diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml new file mode 100644 index 0000000..da763df --- /dev/null +++ b/.github/workflows/releases.yml @@ -0,0 +1,26 @@ +name: Release Charts +on: + push: + branches: + - main + +jobs: + chart-release: + permissions: + contents: write + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Configure Git + run: | + git config user.name "$GITHUB_ACTOR" + git config user.email "$GITHUB_ACTOR@users.noreply.github.com" + + - name: Run chart-releaser + uses: helm/chart-releaser-action@v1.6.0 + env: + CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" diff --git a/Makefile b/Makefile index ba50039..9f924ab 100644 --- a/Makefile +++ b/Makefile @@ -156,4 +156,4 @@ $(KO): $(LOCALBIN) test -s $(LOCALBIN)/ko || GOBIN=$(LOCALBIN) go install github.com/google/ko@latest ko-build-runner: ko - cd runners && ko build --bare . \ No newline at end of file + cd runners && ko build --bare . diff --git a/charts/sleepcycles/Chart.yaml b/charts/sleepcycles/Chart.yaml index d37f379..f680433 100644 --- a/charts/sleepcycles/Chart.yaml +++ b/charts/sleepcycles/Chart.yaml @@ -18,4 +18,4 @@ version: 0.2.0 # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: "0.2.0" +appVersion: "0.2.0" \ No newline at end of file