Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 33 additions & 5 deletions .github/workflows/helm-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,18 @@ permissions:
packages: write

jobs:
release:
# First, release individual charts
release-charts:
runs-on: ubuntu-latest
strategy:
matrix:
chart:
- digger-backend
- taco-drift
- taco-orchestrator
- taco-statesman
- taco-ui
- opentaco
- taco-token-service
- taco-drift
- taco-ui
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -37,4 +39,30 @@ jobs:
run: |
cd helm-charts/${{ matrix.chart }}
helm package .
helm push ${{ matrix.chart }}-*.tgz oci://ghcr.io/diggerhq/helm-charts
helm push ${{ matrix.chart }}-*.tgz oci://ghcr.io/diggerhq/helm-charts

# Then release umbrella chart after dependencies are available
release-umbrella:
needs: release-charts
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Helm
uses: azure/setup-helm@v4

- name: Login to GitHub Container Registry
run: |
echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin

- name: Build dependencies for opentaco
run: |
cd helm-charts/opentaco
helm dependency build

- name: Package and push opentaco
run: |
cd helm-charts/opentaco
helm package .
helm push opentaco-*.tgz oci://ghcr.io/diggerhq/helm-charts
Loading