Skip to content

[Github] Improvement github ci #6

[Github] Improvement github ci

[Github] Improvement github ci #6

Workflow file for this run

name: CI for Reservation Service
on:
push:
branches:
- main
paths:
- "backend/nestjs/apps/reservation-service/**"
- "backend/nestjs/libs/**"
- "backend/nestjs/package.json"
- "backend/nestjs/package-lock.json"
- ".github/workflows/reservation-ci.yml"
jobs:
build-and-push-docker-image:
uses: ./.github/workflows/templates/nestjs-ci-template.yml

Check failure on line 16 in .github/workflows/reservation-ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/reservation-ci.yml

Invalid workflow file

invalid value workflow reference: workflows must be defined at the top level of the .github/workflows/ directory
with:
serviceName: 'reservation'
dockerfilePath: './backend/nestjs/apps/reservation-service/Dockerfile'
buildContext: './backend/nestjs'
tag: 'latest'