Skip to content

Deploy Schema Updater #7

Deploy Schema Updater

Deploy Schema Updater #7

name: Deploy Schema Updater
on:
workflow_dispatch:
jobs:
build image:

Check failure on line 8 in .github/workflows/deploy_schema_updater.yaml

View workflow run for this annotation

GitHub Actions / Deploy Schema Updater

Invalid workflow file

The workflow is not valid. .github/workflows/deploy_schema_updater.yaml (Line: 8, Col: 3): The identifier 'build image' is invalid. IDs may only contain alphanumeric characters, '_', and '-'. IDs must start with a letter or '_' and and must be less than 100 characters.
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- id: "google-cloud-auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v1"
with:
workload_identity_provider: "projects/774248915715/locations/global/workloadIdentityPools/gh-deploy-pool/providers/gh-provider"
service_account: "[email protected]"
- id: "google-cloud-sdk-setup"
name: "Set up Cloud SDK"
uses: google-github-actions/setup-gcloud@v1
- name: Build image with Cloud Build
run: |
gcloud builds submit --tag gcr.io/sample-metadata/schema-updater:latest ./db/deploy
- name: Deploy image to Cloud Run
run: |
gcloud run deploy schema-updater --image gcr.io/sample-metadata/schema-updater --platform managed --region australia-southeast1 --no-allow-unauthenticated