devops-test-app/app/Makefile
DaemonGloom 57c125d3dd
All checks were successful
Docker image build / Build docker image (push) Successful in 1m25s
Switch helm, container registry and workflow to local repo
2024-08-06 09:03:12 +05:00

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)