#!/usr/bin/env bash

VERSION=0.1.0

# Build the binaries
docker run --rm -v $PWD:/go/src/github.com/Boostport/kubernetes-vault -w /go/src/github.com/Boostport/kubernetes-vault golang:1.7-alpine ./build.sh

# Build the images
docker build -t boostport/kubernetes-vault:$VERSION service/
docker build -t boostport/kubernetes-vault-init:$VERSION init/
docker build -t boostport/kubernetes-vault-demo:$VERSION demo/

# Push images
docker push boostport/kubernetes-vault:$VERSION
docker push boostport/kubernetes-vault-init:$VERSION
docker push boostport/kubernetes-vault-demo:$VERSION
#!/usr/bin/env bash

VERSION=0.1.0

# Build the binaries
docker run --rm -v $PWD:/go/src/github.com/Boostport/kubernetes-vault -w /go/src/github.com/Boostport/kubernetes-vault golang:1.7-alpine ./build.sh

# Build the images
docker build -t boostport/kubernetes-vault:$VERSION service/
docker build -t boostport/kubernetes-vault-init:$VERSION init/
docker build -t boostport/kubernetes-vault-sample-app:$VERSION demo/

# Push images
docker push boostport/kubernetes-vault:$VERSION
docker push boostport/kubernetes-vault-init:$VERSION
docker push boostport/kubernetes-vault-sample-app:$VERSION
Fix build script to build sample-app image.
Fix build script to build sample-app image.
