Skip to content

Commit a0e4fd5

Browse files
authored
Update workflow (#2349)
* token service setup * adjust charts for consistency * remove reamdes * remove binary * add migrations * update helm release
1 parent 76dcb77 commit a0e4fd5

File tree

1 file changed

+33
-5
lines changed

1 file changed

+33
-5
lines changed

.github/workflows/helm-release.yml

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,18 @@ permissions:
1212
packages: write
1313

1414
jobs:
15-
release:
15+
# First, release individual charts
16+
release-charts:
1617
runs-on: ubuntu-latest
1718
strategy:
1819
matrix:
1920
chart:
2021
- digger-backend
21-
- taco-drift
22+
- taco-orchestrator
2223
- taco-statesman
23-
- taco-ui
24-
- opentaco
24+
- taco-token-service
25+
- taco-drift
26+
- taco-ui
2527
steps:
2628
- name: Checkout
2729
uses: actions/checkout@v4
@@ -37,4 +39,30 @@ jobs:
3739
run: |
3840
cd helm-charts/${{ matrix.chart }}
3941
helm package .
40-
helm push ${{ matrix.chart }}-*.tgz oci://ghcr.io/diggerhq/helm-charts
42+
helm push ${{ matrix.chart }}-*.tgz oci://ghcr.io/diggerhq/helm-charts
43+
44+
# Then release umbrella chart after dependencies are available
45+
release-umbrella:
46+
needs: release-charts
47+
runs-on: ubuntu-latest
48+
steps:
49+
- name: Checkout
50+
uses: actions/checkout@v4
51+
52+
- name: Install Helm
53+
uses: azure/setup-helm@v4
54+
55+
- name: Login to GitHub Container Registry
56+
run: |
57+
echo "${{ secrets.GITHUB_TOKEN }}" | helm registry login ghcr.io -u ${{ github.actor }} --password-stdin
58+
59+
- name: Build dependencies for opentaco
60+
run: |
61+
cd helm-charts/opentaco
62+
helm dependency build
63+
64+
- name: Package and push opentaco
65+
run: |
66+
cd helm-charts/opentaco
67+
helm package .
68+
helm push opentaco-*.tgz oci://ghcr.io/diggerhq/helm-charts

0 commit comments

Comments
 (0)