Michal Iskierko 6d31343205 feat: Waku v2 bridge
Issue #12610
2024-02-22 17:07:59 +01:00

17 lines
459 B
Makefile

test:
go test ./...
image: AUTHOR = $(shell echo $$USER)
image: GIT_COMMIT = $(shell tag=`git describe --exact-match --tag 2>/dev/null`; \
if [ $$? -eq 0 ]; then echo $$tag | sed 's/^v\(.*\)$$/\1/'; \
else git rev-parse --short HEAD; fi)
image:
docker build . \
--label "commit=$(GIT_COMMIT)" \
--label "author=$(AUTHOR)" \
-t statusteam/rendezvous:$(GIT_COMMIT) \
-t statusteam/rendezvous:latest
push:
docker push statusteam/rendezvous:latest