Added Docker automated build hook and readme badges for Docker
- Build arguments are injected by the build hook - Badges added: number of pulls, stars and if the build is automatedpull/36/head
parent
18d34d5c01
commit
d78648cabb
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
docker build --build-arg BUILD_DATE=`date -u +"%Y-%m-%dT%H:%M:%SZ"` \
|
||||
--build-arg VCS_REF=`git rev-parse --short HEAD` \
|
||||
--build-arg VERSION=`git describe --abbrev=0 --tag` \
|
||||
-t $IMAGE_NAME .
|
Loading…
Reference in New Issue