Skip to content
Snippets Groups Projects
Commit 599a63c4 authored by Pavel Kirilin's avatar Pavel Kirilin :alien:
Browse files

Updated helm publishing action. (#65)


Signed-off-by: default avatarPavel Kirilin <win10@list.ru>
parent a04ee9b5
No related branches found
No related tags found
No related merge requests found
...@@ -126,25 +126,19 @@ jobs: ...@@ -126,25 +126,19 @@ jobs:
file: deploy/Dockerfile file: deploy/Dockerfile
tags: s3rius/rustus:latest,s3rius/rustus:${{env.APP_VERSION}} tags: s3rius/rustus:latest,s3rius/rustus:${{env.APP_VERSION}}
release_helm: upload_helm:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - uses: actions/checkout@v2
uses: actions/checkout@v2 - name: Export version
- name: Configure Git run: echo "APP_VERSION=$(head -n 5 Cargo.toml | grep version | cut -d '"' -f2)" >> $GITHUB_ENV
run: | - name: Publish Helm charts
git config user.name "$GITHUB_ACTOR" uses: stefanprodan/helm-gh-pages@master
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.7.1
- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.3.0
with: with:
charts_dir: ./deploy token: ${{ secrets.GITHUB_TOKEN }}
env: charts_dir: deploy
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" target_dir: helm_releases
app_version: ${{env.APP_VERSION}}
publish_crate: publish_crate:
runs-on: ubuntu-latest runs-on: ubuntu-latest
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment