Skip to content

Commit

Permalink
Helm release workflow logic (#67)
Browse files Browse the repository at this point in the history
* split workflow logic

* split workflow logic
  • Loading branch information
aWN4Y25pa2EK authored Oct 22, 2024
1 parent e6737af commit 9024551
Showing 1 changed file with 30 additions and 5 deletions.
35 changes: 30 additions & 5 deletions .github/workflows/releaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,38 @@ on:
workflow_dispatch:

jobs:
release:
# common-celestia-node
release-common-celestia-node:
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "[email protected]"
- name: Run chart-releaser for common-celestia-node
uses: helm/[email protected]
with:
charts_dir: "charts/common-celestia-node"
packages_with_index: "true"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
# celestia-node
release-celestia-node:
permissions:
contents: write
runs-on: ubuntu-latest
needs: release-common-celestia-node
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand All @@ -33,14 +58,14 @@ jobs:
helm repo add celestiaorg https://celestiaorg.github.io/helm-charts
helm repo update
- name: Update Helm Dependencies
- name: Update Helm Dependencies for celestia-node
run: |
helm dependency update charts/celestia-node
- name: Run chart-releaser
- name: Run chart-releaser for celestia-node
uses: helm/[email protected]
with:
charts_dir: "charts"
charts_dir: "charts/celestia-node"
packages_with_index: "true"
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

0 comments on commit 9024551

Please sign in to comment.