Skip to content

0.60.0

0.60.0 #20

Workflow file for this run

name: Release
on:
release:
types:
- published
jobs:
release-helm-chart:
permissions:
contents: write
runs-on: elisa-normal
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- uses: actions/setup-python@v4
with:
python-version: '3.11'
check-latest: true
- uses: azure/setup-helm@v3
- name: Package chart
run: helm package ./keydb/ --destination ./.deploy/ --version ${{github.ref_name}}
- name: Run chart-releaser
uses: helm/[email protected]
with:
skip_packaging: true
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
CR_PACKAGE_PATH: .deploy
CR_INDEX_PATH: index.yaml
CR_SKIP_EXISTING: true
- name: Notify failure
if: failure()
env:
MATTERMOST_WEBHOOK_URL: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
MATTERMOST_TEXT: "${{ github.repository }} release build. Please check [here](${{ github.event.pull_request.html_url }}/checks)."
run: |
send-to-mattermost