John Olheiser
357d44c994
Clean up Dockerfile and code improvement Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: jolheiser <john.olheiser@gmail.com> Reviewed-on: #2 Co-Authored-By: John Olheiser <john.olheiser@gmail.com> Co-Committed-By: John Olheiser <john.olheiser@gmail.com>
22 lines
270 B
Makefile
22 lines
270 B
Makefile
GO ?= go
|
|
|
|
.PHONY: fmt
|
|
fmt:
|
|
$(GO) fmt ./...
|
|
|
|
.PHONY: build
|
|
build:
|
|
$(GO) build
|
|
|
|
.PHONY: vet
|
|
vet:
|
|
$(GO) vet ./...
|
|
|
|
.PHONY: docker-build
|
|
docker-build:
|
|
docker build -t jolheiser/drone-gitea-main .
|
|
|
|
.PHONY: docker-push
|
|
docker-push:
|
|
docker push jolheiser/drone-gitea-main
|