-
Notifications
You must be signed in to change notification settings - Fork 1
32 lines (25 loc) · 992 Bytes
/
ci-pipeline.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# .github/workflows/ci-pipeline.yml
name: CI Pipeline
on:
workflow_dispatch:
# on:
# push:
# branches:
# - main # Triggers the workflow on push to the main branch
permissions: # Define permissions for this workflow
packages: write # Allow writing to packages
contents: read # Allow reading repository contents
jobs:
data-setup:
uses: ./.github/workflows/dvc-pipeline.yml
secrets: inherit # If you need to pass secrets to the build workflow
# build:
# uses: ./.github/workflows/docker-build.yml
# secrets: inherit # If you need to pass secrets to the build workflow
# test:
# uses: ./.github/workflows/docker-test.yml
# needs: build # This ensures that the test job runs after the build job
# secrets: inherit # If you need to pass secrets to the test workflow
# with:
# min_accuracy: '0.95' # Provide the input value here
# docker_image: 'ghcr.io/ajithvcoder/emlo4-session-05-ajithvcoder:latest'