This repository has been archived by the owner on Mar 16, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
posix-ize .sh files some more, cleanups
- Loading branch information
Showing
2 changed files
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
#!/usr/bin/env bash | ||
#!/bin/sh | ||
|
||
VERSION=dev | ||
|
||
# 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.9-alpine ./build.sh | ||
docker run --rm -v "$PWD":/go/src/github.com/Boostport/kubernetes-vault -w /go/src/github.com/Boostport/kubernetes-vault golang:1.9-alpine ./build.sh | ||
|
||
# Build the images | ||
docker build -t boostport/kubernetes-vault:$VERSION -f cmd/controller/Dockerfile.dev cmd/controller/ | ||
docker build -t boostport/kubernetes-vault-init:$VERSION -f cmd/init/Dockerfile.dev cmd/init/ | ||
docker build -t boostport/kubernetes-vault-sample-app:$VERSION -f cmd/sample-app/Dockerfile.dev cmd/sample-app/ | ||
docker build -t boostport/kubernetes-vault:"$VERSION" -f cmd/controller/Dockerfile.dev cmd/controller/ | ||
docker build -t boostport/kubernetes-vault-init:"$VERSION" -f cmd/init/Dockerfile.dev cmd/init/ | ||
docker build -t boostport/kubernetes-vault-sample-app:"$VERSION" -f cmd/sample-app/Dockerfile.dev cmd/sample-app/ | ||
|
||
# Push images | ||
docker push boostport/kubernetes-vault:$VERSION | ||
docker push boostport/kubernetes-vault-init:$VERSION | ||
docker push boostport/kubernetes-vault-sample-app:$VERSION | ||
docker push boostport/kubernetes-vault:"$VERSION" | ||
docker push boostport/kubernetes-vault-init:"$VERSION" | ||
docker push boostport/kubernetes-vault-sample-app:"$VERSION" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters