-
Notifications
You must be signed in to change notification settings - Fork 20
34 lines (29 loc) · 1.03 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
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
- name: Install Helm
uses: azure/setup-helm@v1
with:
version: v3.5.2
- 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 }}