diff --git a/modules/hooks/build b/modules/hooks/build index 6509f02..ecc63a0 100755 --- a/modules/hooks/build +++ b/modules/hooks/build @@ -6,6 +6,8 @@ echo "[***] Build hook running" export $(grep -v '^#' ../.env | xargs) +docker pull $DOCKER_REPO:modules-latest + docker build \ --build-arg MISP_TAG=$MISP_TAG \ --build-arg PHP_VER=$PHP_VER \ diff --git a/server/hooks/build b/server/hooks/build index 6509f02..d0291ed 100755 --- a/server/hooks/build +++ b/server/hooks/build @@ -6,6 +6,8 @@ echo "[***] Build hook running" export $(grep -v '^#' ../.env | xargs) +docker pull $DOCKER_REPO:core-latest + docker build \ --build-arg MISP_TAG=$MISP_TAG \ --build-arg PHP_VER=$PHP_VER \