From 9dd2fb11d864f0ccd0ceb7111abb3db4b7d9be6f Mon Sep 17 00:00:00 2001 From: Jason Kendall Date: Fri, 21 Feb 2020 10:05:42 -0500 Subject: [PATCH] Pull latest images before build --- modules/hooks/build | 2 ++ server/hooks/build | 2 ++ 2 files changed, 4 insertions(+) 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 \