DaemonGloom
57c125d3dd
All checks were successful
Docker image build / Build docker image (push) Successful in 1m25s
18 lines
344 B
Makefile
18 lines
344 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
|
|
$(GOBIN)/air
|
|
|
|
build:
|
|
docker build . --tag daemongit.dyndns.info/just_a_test/devops-test-app:$(version)
|
|
|
|
publish:
|
|
docker push daemongit.dyndns.info/just_a_test/devops-test-app:$(version)
|