Skip to content

Commit

Permalink
Added build hook for versioning
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarBarrett committed Nov 27, 2017
1 parent 1ee1fd2 commit 087fdc8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions hooks/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/bin/bash
docker build --build-arg version=$(cat VERSION) -t $IMAGE_NAME .

0 comments on commit 087fdc8

Please sign in to comment.