Skip to content

Commit

Permalink
Added publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
olapiv committed Dec 16, 2024
1 parent b327a68 commit 6923e2f
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,3 +250,31 @@ jobs:
run: |
source ./test_scripts/minio.env
kubectl delete namespace $MINIO_TENANT_NAMESPACE --timeout=50s || true
publish:
needs: [test-lifecycle]
if: github.repository == 'logicalclocks/rondb-helm' && github.ref_name == 'main' && startsWith(github.ref, 'refs/tags/')
name: Publish Helm chart
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout main repo
uses: actions/checkout@v4

- name: Set up Helm
uses: azure/setup-helm@v4
with:
version: '3.13.3'
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser
uses: helm/[email protected]
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 6923e2f

Please sign in to comment.