18 lines
299 B
Makefile
18 lines
299 B
Makefile
|
.PHONY: start build publish
|
||
|
|
||
|
export GOBIN=${CURDIR}/bin
|
||
|
|
||
|
version ?= master
|
||
|
|
||
|
$(GOBIN)/air:
|
||
|
go install github.com/air-verse/air@latest
|
||
|
|
||
|
start: $(GOBIN)/air
|
||
|
air
|
||
|
|
||
|
build:
|
||
|
docker build . --tag quay.csssr.cloud/csssr/test-app:$(version)
|
||
|
|
||
|
publish:
|
||
|
docker push quay.csssr.cloud/csssr/test-app:$(version)
|