Ensure to pull latest base images during CI

This commit is contained in:
cytopia
2020-12-12 14:34:10 +01:00
parent 1b312bce33
commit f0bb67cbc2
3 changed files with 4 additions and 2 deletions

View File

@@ -120,6 +120,7 @@ jobs:
done;
return 1;
}
retry make _pull-base-image VERSION=${VERSION}
retry make build-base VERSION=${VERSION}
env:
VERSION: ${{ matrix.version }}

View File

@@ -123,6 +123,7 @@ jobs:
done;
return 1;
}
retry make _pull-base-image VERSION=${VERSION}
retry make build-base VERSION=${VERSION}
env:
VERSION: ${{ matrix.version }}

View File

@@ -202,7 +202,7 @@ build-work:
# REBUILD TARGETS
# -------------------------------------------------------------------------------------------------
rebuild-base: _pull-root-image
rebuild-base: _pull-base-image
rebuild-base: NO_CACHE=--no-cache
rebuild-base: build-base
@@ -360,6 +360,6 @@ _check-image-exists:
fi;
_pull-root-image:
_pull-base-image:
@echo "Pulling root image for PHP ${VERSION}"
@docker pull $(shell grep FROM $(DIR)/base/Dockerfile-${VERSION} | sed 's/^FROM\s*//g';)