mirror of https://github.com/MISP/misp-docker
Remove env call, and copy to server build hook
parent
3a61d5068d
commit
9932519113
|
@ -6,8 +6,6 @@ echo "[***] Build hook running"
|
|||
|
||||
export $(grep -v '^#' ../.env | xargs)
|
||||
|
||||
env
|
||||
|
||||
docker build \
|
||||
--build-arg MISP_TAG=$MISP_TAG \
|
||||
--build-arg PHP_VER=$PHP_VER \
|
||||
|
|
|
@ -7,6 +7,8 @@ echo "[***] Build hook running"
|
|||
export $(grep -v '^#' ../.env | xargs)
|
||||
|
||||
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