grafana/packaging/docker/build-deploy.sh
2019-01-10 15:12:43 +01:00

13 lines
283 B
Bash
Executable File

#!/bin/sh
set -e
_grafana_version=$1
./build.sh "$_grafana_version"
docker login -u "$DOCKER_USER" -p "$DOCKER_PASS"
./push_to_docker_hub.sh "$_grafana_version"
if echo "$_grafana_version" | grep -q "^master-"; then
./deploy_to_k8s.sh "grafana/grafana-dev:$_grafana_version"
fi