devops-test-app/app/Makefile

18 lines
330 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-05 16:35:59 +05:00
docker build . --tag daemongit.dyndns.info/just_a_test/test-app:$(version)
publish:
2024-08-05 16:35:59 +05:00
docker push daemongit.dyndns.info/just_a_test/test-app:$(version)