13 أسطر
428 B
Bash
ملف تنفيذي
13 أسطر
428 B
Bash
ملف تنفيذي
#!/bin/bash
|
|
|
|
echo "Buidling and pushing israelhikingmap/graphhopper:latest"
|
|
./build.sh --push
|
|
|
|
TAG=`cd graphhopper; git for-each-ref --sort=committerdate refs/tags | sed -n '$s/.*\///p'`
|
|
if docker manifest inspect "israelhikingmap/graphhopper:${TAG}" >/dev/null; then
|
|
echo "No need to push existing version: ${TAG}";
|
|
else
|
|
echo "Buidling and pushing israelhikingmap/graphhopper:${TAG}"
|
|
./build.sh --push "${TAG}"
|
|
fi
|