Skip to content

Commit deba3ae

Browse files
author
Jonathan Chauncey
committed
chore(grafana): add scripts dir to grafana
1 parent 89996e7 commit deba3ae

2 files changed

Lines changed: 24 additions & 0 deletions

File tree

grafana/_scripts/deploy.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Build and push Docker images to Docker Hub and quay.io.
4+
#
5+
6+
cd "$(dirname "$0")" || exit 1
7+
8+
echo "Logging into docker hub account!"
9+
docker login -e="$DOCKER_EMAIL" -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD"
10+
echo "Building docker image and pushing to docker hub!"
11+
IMAGE_PREFIX=deisci make -C .. docker-build docker-push
12+
echo "Logging into quay.io account!"
13+
docker login -e="$QUAY_EMAIL" -u="$QUAY_USERNAME" -p="$QUAY_PASSWORD" quay.io
14+
echo "Building docker image and pushing to quay.io!"
15+
DEIS_REGISTRY=quay.io/ IMAGE_PREFIX=deisci make -C .. docker-build docker-push

grafana/_scripts/release.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/usr/bin/env bash
2+
#
3+
# Build and push Docker images to Docker Hub and quay.io.
4+
#
5+
cd "$(dirname "$0")" || exit 1
6+
echo "Building docker image and pushing to quay.io!"
7+
DEIS_REGISTRY=quay.io/ BUILD_TAG=v2-beta make -C .. docker-build docker-push
8+
echo "Building docker image and pushing to docker hub!"
9+
BUILD_TAG=v2-beta make -C .. docker-build docker-push

0 commit comments

Comments
 (0)