Force the build args from env, also dump the env for testing

pull/1/head
Jason Kendall 2020-01-30 10:14:45 -05:00
parent 10c2f2ad6b
commit 949243deb1
1 changed files with 4 additions and 0 deletions

View File

@ -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) \