docs: link to guide about the four keys (#178) #23
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: Publish OpenDORA Helm Chart | |
on: | |
workflow_dispatch: | |
workflow_call: | |
release: | |
types: [published] | |
push: | |
tags: | |
- "*.*.*" | |
branches: | |
- main | |
jobs: | |
chart: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Helm | |
uses: azure/setup-helm@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Lint Helm chart | |
run: helm lint open-dora-helm-chart | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Package helm chart | |
run: helm package open-dora-helm-chart | |
- name: Publish chart to GHCR | |
run: | | |
export CHART_VERSION=$(grep 'version:' open-dora-helm-chart/Chart.yaml | tail -n1 | awk '{ print $2 }') | |
helm push open-dora-helm-chart-${CHART_VERSION}.tgz oci://ghcr.io/devoteamnl/opendora/ |