Capstone/service/Makefile

13 lines
311 B
Makefile
Raw Normal View History

2023-10-26 12:35:53 -04:00
BASE_URL="us-central1-docker.pkg.dev/pbaxter-infra/capstone-repo"
2023-10-23 22:01:09 -04:00
local-build:
GOEXPERIMENT=loopvar go build -o ./tmp/main .
2023-10-23 22:01:09 -04:00
build:
docker build . -t webhook-service:latest
docker tag webhook-service:latest $(BASE_URL)/webhook-service:latest
deploy: build
docker push $(BASE_URL)/webhook-service:latest