2018-10-26 07:23:30 -05:00
|
|
|
#!/bin/sh
|
|
|
|
set -e
|
|
|
|
|
|
|
|
_grafana_tag=$1
|
|
|
|
_docker_repo=${2:-grafana/grafana-enterprise}
|
|
|
|
|
|
|
|
docker build \
|
|
|
|
--tag "${_docker_repo}:${_grafana_tag}"\
|
|
|
|
--no-cache=true \
|
|
|
|
.
|
2018-10-31 10:02:27 -05:00
|
|
|
|
|
|
|
docker push "${_docker_repo}:${_grafana_tag}"
|