fix(fat-crl-prm): update helm chart #18
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
name: helm-release | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
chart: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Get helm | |
run: | | |
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null | |
sudo apt-get install apt-transport-https --yes | |
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list | |
sudo apt-get update | |
sudo apt-get install helm | |
- name: Install dependencies | |
run: | | |
cd archesproject | |
helm dependency update | |
- name: Download chart releaser | |
run: | | |
curl -sSLo hcr.tar.gz "https://github.com/pete911/hcr/releases/download/v0.0.5/hcr_0.0.5_linux_amd64.tar.gz" | |
tar -xzf hcr.tar.gz | |
rm -f hcr.tar.gz | |
- name: Package and release chart | |
run: | | |
git config user.email "[email protected]" | |
git config user.name "gh-action" | |
./hcr -charts-dir archesproject -token "${{ secrets.GITHUB_TOKEN }}" |