mirror of
https://github.com/coredns/coredns.git
synced 2025-11-19 02:12:30 -05:00
Add Dockerfile for automatic build in DockerHub (#796)
* Add Dockerfile for automatic build in DockerHub Signed-off-by: Yong Tang <yong.tang.github@outlook.com> * Use build hooks to build docker images with SOURCE_BRANCH Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
3
docker/hooks/build
Executable file
3
docker/hooks/build
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
set -x
|
||||
docker build --build-arg COREDNS_VERSION=$SOURCE_BRANCH -t $IMAGE_NAME .
|
||||
Reference in New Issue
Block a user