Skip to content

Commit 2232893

Browse files
committed
Add docker cloud hooks
1 parent 80231fb commit 2232893

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

hooks/build

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
2+
#!/bin/bash
3+
4+
docker build \
5+
--build-arg BUILD_DATE="$(date --rfc-3339=s)" \
6+
--build-arg VCS_REF=`git rev-parse --short HEAD` \
7+
-t $IMAGE_NAME .

0 commit comments

Comments
 (0)