Skip to content

Commit 291bd2b

Browse files
committed
adding new image for auto deployment
1 parent 7f7a8a4 commit 291bd2b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

services/tileserver/Makefile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
VERSION := 2.3.0-beta.2
2+
3+
TAG := hub.opensciencegrid.org/macrostrat/tileserver:$(VERSION)
4+
15
serve:
26
poetry run uvicorn macrostrat_tileserver:app --log-level debug --reload --port 8000
37

@@ -22,4 +26,9 @@ docker-run:
2226

2327
docker:
2428
docker build -t macrostrat-tileserver .
25-
docker run -p 8000:8000 --env-file .env macrostrat-tileserver
29+
docker run -p 8000:8000 --env-file .env macrostrat-tileserver
30+
31+
publish:
32+
# Ensure the git repository is clean
33+
@git diff --quiet || (echo "Uncommitted changes present. Please commit or stash them before publishing." && exit 1)
34+
git tag -a v$(VERSION) -m "Version $(VERSION)"

0 commit comments

Comments
 (0)