Skip to content

Commit

Permalink
- Added automated build hook for docker hub.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kristoffer Ahl committed Jan 10, 2019
1 parent 2359de3 commit b0d56e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hooks/build
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

docker build -t "${IMAGE_NAME:?}" --build-arg SOURCE_COMMIT="${SOURCE_COMMIT:?}" --build-arg CACHE_TAG="${CACHE_TAG:?}" .

0 comments on commit b0d56e2

Please sign in to comment.