From 6dda5b4f81a4558ad2a0d5bcadbd54ea44bfe678 Mon Sep 17 00:00:00 2001 From: Colin Dellow Date: Fri, 4 Oct 2024 19:09:22 -0400 Subject: [PATCH] use dockerized tile-join --- .github/workflows/tile-join.yml | 2 +- bin/tile-join-docker | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100755 bin/tile-join-docker diff --git a/.github/workflows/tile-join.yml b/.github/workflows/tile-join.yml index dd979c1..26f1fdc 100644 --- a/.github/workflows/tile-join.yml +++ b/.github/workflows/tile-join.yml @@ -32,7 +32,7 @@ jobs: run: sudo mkdir /mnt/layers && sudo chown runner:docker /mnt/layers && cd /mnt/layers && aws s3 sync s3://hikes-public/layers/"$AREA"/ . --no-progress - name: tile-join - run: /tmp/tile-join --no-tile-size-limit -o tiles.mbtiles /mnt/layers/*.mbtiles + run: ./bin/tile-join-docker --no-tile-size-limit -o tiles.mbtiles /mnt/layers/*.mbtiles - name: Upload tiles env: diff --git a/bin/tile-join-docker b/bin/tile-join-docker new file mode 100755 index 0000000..575dacc --- /dev/null +++ b/bin/tile-join-docker @@ -0,0 +1,9 @@ +#!/bin/sh + +exec docker run \ + -it \ + --rm \ + --entrypoint /usr/bin/tile-join \ + -w $(readlink -f .) \ + -v $(git rev-parse --show-toplevel):$(git rev-parse --show-toplevel) \ + versatiles/tippecanoe