Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/splitting testnet #225

Merged
merged 20 commits into from Aug 20, 2019

Updating script to receive the dockerfile

  • Loading branch information
Freydal committed Aug 19, 2019
commit a6579b0ca8e53770f2f3023c76f8f3e636c9d272
@@ -1,18 +1,19 @@
#!/usr/bin/env bash

# image name passed in as args (including registry host)
IMAGE_HOST=$1
IMAGE_NAME=$2
IMAGE_VERSION=$3
DOCKER_FILE=$1
IMAGE_HOST=$2
IMAGE_NAME=$3
IMAGE_VERSION=$4

GCP_BUCKET_URI=$4
GCP_BUCKET_URI=$5

# full label of geth image to be built
IMAGE_LABEL_VERSION="$IMAGE_HOST/$IMAGE_NAME:$IMAGE_VERSION"
IMAGE_LABEL_LATEST="$IMAGE_HOST/$IMAGE_NAME:latest"

# build kosu-geth image, tag as latest and push both to GCR
docker build -t $IMAGE_LABEL_VERSION .
docker build -t $IMAGE_LABEL_VERSION . -f DOCKER_FILE
docker tag $IMAGE_LABEL_VERSION $IMAGE_LABEL_LATEST
docker push $IMAGE_LABEL_VERSION
docker push $IMAGE_LABEL_LATEST
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.