Skip to content

chore: release 0.4.1 (#34) #36

chore: release 0.4.1 (#34)

chore: release 0.4.1 (#34) #36

Workflow file for this run

name: publish
on:
push:
tags:
- '0*'
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-20.04
permissions:
contents: 'read'
id-token: 'write'
steps:
# Checkout the codebase
- name: Checkout
uses: actions/checkout@v4
- id: auth
name: 'Authenticate to Google Cloud'
uses: 'google-github-actions/auth@v2'
with:
workload_identity_provider: 'projects/2314364601/locations/global/workloadIdentityPools/github-actions/providers/github-actions-provider '
service_account: '[email protected]'
- name: Setup GCloud
uses: google-github-actions/setup-gcloud@v2
with:
project_id: c6o-production
- name: Deploy
run: |
curl https://storage.googleapis.com/c6o-releases/helm-charts/index.yaml --output ./index.yaml
helm package ./charts/* -d ./tmp/
helm repo index tmp --url https://charts.codezero.io --merge ./index.yaml
gsutil cp ./tmp/* gs://c6o-releases/helm-charts