Skip to content

Commit

Permalink
Add Chart Releaser action (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
travisgroth authored Jan 14, 2020
1 parent 37f731a commit a1cc963
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .ct-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
chart-dirs: charts
target-branch: master
all: true
39 changes: 39 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Release
on:
push:
branches:
- master

jobs:
release:
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout
uses: actions/checkout@v1

- name: Configure Git
run: |
git config user.name "apparitor"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.CI_TOKEN }}"
with:
charts_dir: charts
charts_repo_url: https://helm.pomerium.io

test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1

- name: Run chart-testing
id: lint
uses: helm/[email protected]
with:
command: lint
config: .ct-release.yaml

0 comments on commit a1cc963

Please sign in to comment.