trustgraph/Makefile

32 lines
601 B
Makefile
Raw Normal View History

2024-07-10 23:20:06 +01:00
# VERSION=$(shell git describe | sed 's/^v//')
2024-07-22 19:47:21 +01:00
VERSION=0.4.2
2024-07-10 23:20:06 +01:00
all: container
CONTAINER=docker.io/trustgraph/trustgraph-flow
container:
podman build -f Containerfile -t ${CONTAINER}:${VERSION} \
--format docker
push:
podman push ${CONTAINER}:${VERSION}
start:
podman run -i -t --name ${NAME} \
-i -t \
-p 8081:8081 \
-v $$(pwd)/keys:/keys \
-v $$(pwd)/configs:/configs \
${CONTAINER}:${VERSION}
stop:
podman rm -f ${NAME}
clean:
rm -rf wheels/
2024-07-15 19:42:16 +01:00
set-version:
sed -i 's/trustgraph-flow:[0-9]*\.[0-9]*\.[0-9]*/trustgraph-flow:'${VERSION}'/' docker-compose*.yaml