netbox-docker/build-latest.sh
2017-09-29 11:39:16 +02:00

8 lines
174 B
Bash
Executable File

#!/bin/bash
URL_LATEST=https://api.github.com/repos/digitalocean/netbox/releases/latest
VERSION=$(curl "${URL_LATEST}" | jq -r ".tag_name")
./build.sh "${VERSION}" --push