Skip to content

Commit

Permalink
Merge pull request #175 from jenting/release-by-github-actions
Browse files Browse the repository at this point in the history
[velero] Release helm charts by github-actions
  • Loading branch information
cpanato authored Nov 18, 2020
2 parents 3a54acf + f8dd8cc commit 1a420ff
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,14 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
# See https://github.com/helm/chart-releaser-action/issues/6
# For now, install the same version of Tiller as the chart-testing Helm
# client version: v2.15.2.
- name: Install Helm
run: |
curl -sSLo get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get
chmod 700 get_helm.sh
DESIRED_VERSION=v2.16.9 ./get_helm.sh
helm init --client-only
- name: Add dependency chart repos
run: |
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.CR_TOKEN }}"
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 1a420ff

Please sign in to comment.