26 lines
618 B
YAML
26 lines
618 B
YAML
name: Build Model
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: amd64-ubuntu-24.04
|
|
|
|
steps:
|
|
- name: Notify backend
|
|
run: |
|
|
curl -sS -X POST http://10.161.0.164:8111/api/computility/image-verify/webhook \
|
|
-H "Content-Type: application/json" \
|
|
-d '{
|
|
"repository": "'"$GITHUB_REPOSITORY"'",
|
|
"ref": "'"$GITHUB_REF"'",
|
|
"commit_sha": "'"$GITHUB_SHA"'",
|
|
"run_id": "'"$GITHUB_RUN_ID"'",
|
|
"job_name": "'"$GITHUB_JOB"'",
|
|
"workflow": "'"$GITHUB_WORKFLOW"'"
|
|
}'
|
|
|