codeclimate-community/codeclimate-govet

View on GitHub
Makefile

Summary

Maintainability
Test Coverage
.PHONY: image release

IMAGE_NAME ?= codeclimate/codeclimate-govet
RELEASE_REGISTRY ?= codeclimate

ifndef RELEASE_TAG
override RELEASE_TAG = latest
endif

image:
    docker build --tag "$(IMAGE_NAME)" .

release:
    docker tag $(IMAGE_NAME) $(RELEASE_REGISTRY)/codeclimate-govet:$(RELEASE_TAG)
    docker push $(RELEASE_REGISTRY)/codeclimate-govet:$(RELEASE_TAG)