Files
key-cape/Makefile
tegwick 1d68639225
Some checks failed
Build and Publish Container Image / build-and-push (push) Has been cancelled
Align KeyCape image namespace with deployment
2026-05-24 17:17:37 +02:00

31 lines
591 B
Makefile

IMAGE_REGISTRY ?= 92.205.130.254:32166
IMAGE_REPO ?= coulomb/key-cape
IMAGE_TAG ?= latest
IMAGE := $(IMAGE_REGISTRY)/$(IMAGE_REPO):$(IMAGE_TAG)
.PHONY: dev seed build test lint image push image-tag
dev:
docker compose -f docker-compose.dev.yml up
seed:
docker compose -f docker-compose.dev.yml exec lldap /scripts/seed.sh
build:
cd src && go build ./...
test:
cd src && go test ./...
lint:
cd src && go vet ./...
image:
docker build -t $(IMAGE) .
push: image
docker push $(IMAGE)
image-tag:
docker tag $(IMAGE) $(IMAGE_REGISTRY)/$(IMAGE_REPO):$(IMAGE_TAG)