mirror of https://github.com/MISP/misp-docker
Force the build args from env, also dump the env for testing
parent
10c2f2ad6b
commit
949243deb1
|
@ -6,7 +6,11 @@ echo "[***] Build hook running"
|
|||
|
||||
export $(grep -v '^#' ../.env | xargs)
|
||||
|
||||
env
|
||||
|
||||
docker build \
|
||||
--build-arg MISP_TAG=$MISP_TAG
|
||||
--build-arg PHP_VER=$PHP_VER
|
||||
--build-arg BUILD_RFC3339=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
|
||||
--build-arg COMMIT=$(git rev-parse --short HEAD) \
|
||||
--build-arg VERSION=$(git describe --tags --always) \
|
||||
|
|
Loading…
Reference in New Issue