#!/usr/bin/env bash

PROJECT=$1
BRANCH=$2
IMAGE=$3

ENDPOINT=http://192.168.230.125:3001/hooks/f497e82c-ea58-4d02-a4b5-1a9f671a5425

curl \
	-X POST \
	-v \
	-H 'Content-Type:application/json' \
	-d "{\"project\":\"$PROJECT\",\"branch\":\"$BRANCH\",\"image\":\"$IMAGE\"}" \
	"$ENDPOINT"
