Skip to content

Commit

Permalink
Update build-image
Browse files Browse the repository at this point in the history
  • Loading branch information
tc-mccarthy authored Jun 28, 2022
1 parent 12c48c5 commit c1a77ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-image
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ BRANCH=`git branch | grep '^*' | sed 's/* //'`
TAG="build-$BRANCH-$(date '+%Y%m%d%H%M%S')"

## Build the image using the repo name, tag and passing in the env var and build version
docker build -t "$REPO_NAME:$TAG" --build-arg ENV=$ENV --build-arg TARGETENV=$ENV --build-arg BUILD_VERSION=$BUILD_VERSION .
docker build -t "$REPO_NAME:$TAG" --build-arg ENV=$ENV --build-arg TARGETENV=$ENV --build-arg BUILD_VERSION=$TAG .

## wait 10 seconds
sleep 10
Expand Down

0 comments on commit c1a77ab

Please sign in to comment.