devops-test-app/app/Makefile

18 lines
299 B
Makefile
Raw Normal View History

.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)