Skip to content

fix: workflow

fix: workflow #6

Workflow file for this run

name: CD
on:
push:
branches:
- main
tags:
- v*
jobs:
push-backend:
name: Build backend
runs-on: ubuntu-latest
outputs:
version: ${{ steps.build.outputs.tag }}
steps:
- uses: actions/checkout@v4
- uses: ./actions/build-push-gcloud
id: build
with:
google_key: ${{ secrets.GCLOUD_SECRET_KEY }}
repo: services/whisper-notes-backend
dockerfile: backend.Dockerfile
registry: europe-north1-docker.pkg.dev
project_id: ${{ secrets.GCLOUD_PROJECT }}
secrets: inherit

Check failure on line 26 in .github/workflows/cd-build.yaml

View workflow run for this annotation

GitHub Actions / CD

Invalid workflow file

The workflow is not valid. .github/workflows/cd-build.yaml (Line: 26, Col: 9): Unexpected value 'secrets' .github/workflows/cd-build.yaml (Line: 42, Col: 9): Unexpected value 'secrets'
push-frontend:
name: Build frontend
runs-on: ubuntu-latest
outputs:
version: ${{ steps.build.outputs.tag }}
steps:
- uses: actions/checkout@v4
- uses: ./actions/build-push-gcloud
id: build
with:
google_key: ${{ secrets.GCLOUD_SECRET_KEY }}
repo: services/whisper-notes-frontend
dockerfile: frontend.Dockerfile
registry: europe-north1-docker.pkg.dev
project_id: ${{ secrets.GCLOUD_PROJECT }}
secrets: inherit