Pull latest images before build

pull/1/head
Jason Kendall 2020-02-21 10:05:42 -05:00
parent 4a7314d82b
commit 9dd2fb11d8
2 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,8 @@ echo "[***] Build hook running"
export $(grep -v '^#' ../.env | xargs) export $(grep -v '^#' ../.env | xargs)
docker pull $DOCKER_REPO:modules-latest
docker build \ docker build \
--build-arg MISP_TAG=$MISP_TAG \ --build-arg MISP_TAG=$MISP_TAG \
--build-arg PHP_VER=$PHP_VER \ --build-arg PHP_VER=$PHP_VER \

View File

@ -6,6 +6,8 @@ echo "[***] Build hook running"
export $(grep -v '^#' ../.env | xargs) export $(grep -v '^#' ../.env | xargs)
docker pull $DOCKER_REPO:core-latest
docker build \ docker build \
--build-arg MISP_TAG=$MISP_TAG \ --build-arg MISP_TAG=$MISP_TAG \
--build-arg PHP_VER=$PHP_VER \ --build-arg PHP_VER=$PHP_VER \