-
Notifications
You must be signed in to change notification settings - Fork 367
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #175 from jenting/release-by-github-actions
[velero] Release helm charts by github-actions
- Loading branch information
Showing
1 changed file
with
2 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 }}" |