devops-test-app/app/Makefile

18 lines
352 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
2024-07-25 15:59:51 +05:00
$(GOBIN)/air
build:
2024-08-06 09:15:08 +05:00
docker build . --tag daemongit.dyndns.info/just_a_test/devops-test-app:$(version) --debug
publish:
docker push daemongit.dyndns.info/just_a_test/devops-test-app:$(version)