-
Notifications
You must be signed in to change notification settings - Fork 23
39 lines (34 loc) · 1.39 KB
/
release-cnab.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Release CNAB
on:
push:
tags:
- 'castai*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
# We need to manually add repos for deps due to bug in https://github.com/helm/chart-releaser/issues/135
- name: Add dependencies
run: |
helm repo add vector https://helm.vector.dev
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add incubator https://charts.helm.sh/incubator
helm repo add elasticsearch https://helm.elastic.co
helm repo add grafana https://grafana.github.io/helm-charts
helm repo add ollama https://otwld.github.io/ollama-helm
- name: Install Helm
uses: azure/setup-helm@v4.2.0
with:
version: v3.17.0
- name: Release CNAB package
run: scripts/release-cnab-package.sh
env:
TAG_NAME: ${{ github.ref_name }}
AZURE_K8S_APP_MARKETPLACE_SP_ID: ${{ secrets.AZURE_K8S_APP_MARKETPLACE_SP_ID }}
AZURE_K8S_APP_MARKETPLACE_SP_SECRET: ${{ secrets.AZURE_K8S_APP_MARKETPLACE_SP_SECRET }}
AZURE_K8S_APP_MARKETPLACE_TENANT_ID: ${{ secrets.AZURE_K8S_APP_MARKETPLACE_TENANT_ID }}
AZURE_K8S_APP_MARKETPLACE_REGISTRY_NAME: ${{ secrets.AZURE_K8S_APP_MARKETPLACE_REGISTRY_NAME }}