videoconf/Makefile
2018-01-18 20:30:13 -05:00

15 lines
300 B
Makefile

GIT_SUMMARY := $(shell git describe --tags --dirty --always)
REPO=msoedov/hacker-slides
default: repo
repo:
@echo $(REPO):$(GIT_SUMMARY)
build:
@GOOS=linux CGO_ENABLE=0 go build main.go
@docker build -t $(REPO):$(GIT_SUMMARY) .
push:
@docker push $(REPO):$(GIT_SUMMARY)
@docker push $(REPO)