ci-build: Improve build-deploy script (#19653)

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen
2019-10-07 14:17:17 +02:00
committed by GitHub
parent cf7ace6aad
commit 92765a6c6f
2 changed files with 7 additions and 0 deletions

View File

@@ -1,7 +1,11 @@
#!/bin/bash
set -eo pipefail
_version="1.2.9"
_tag="grafana/build-container:${_version}"
_dpath=$(dirname "${BASH_SOURCE[0]}")
cd "$_dpath"
docker build -t $_tag .
docker push $_tag