drone-plugin-golangci-lint/Makefile

17 lines
287 B
Makefile

export DOCKER_HOST := ssh://root@nbg1
export DOCKER_IMAGE := sneak/drone-golangci-lint:latest
export REPO := git.eeqj.de/$(DOCKER_IMAGE)
default: build_and_push
build_and_push: build push
login:
docker login git.eeqj.de
build:
docker build -t $(REPO) .
push:
docker push $(REPO)