chore: update space-init image tag to latest (#23) #26
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish | |
on: | |
push: | |
branches: | |
- pasley | |
workflow_dispatch: | |
jobs: | |
publish: | |
runs-on: ubuntu-20.04 | |
permissions: | |
contents: 'read' | |
id-token: 'write' | |
steps: | |
# Checkout the codebase | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- id: auth | |
name: 'Authenticate to Google Cloud' | |
uses: 'google-github-actions/auth@v1' | |
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@v1 | |
with: | |
project_id: c6o-production | |
- name: Deploy | |
run: | | |
helm package ./charts/* -d ./tmp/ | |
helm repo index tmp --url https://charts.codezero.io | |
gsutil cp ./tmp/* gs://c6o-releases/helm-charts |