13 lines
311 B
Makefile
13 lines
311 B
Makefile
BASE_URL="us-central1-docker.pkg.dev/pbaxter-infra/capstone-repo"
|
|
|
|
local-build:
|
|
GOEXPERIMENT=loopvar go build -o ./tmp/main .
|
|
|
|
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
|
|
|