diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d5eea943..797fea24 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -140,7 +140,7 @@ jobs: fi printf '%s\n' "${imageVariants[@]}" > .docker-state/variants.txt - PHP_SUB_VERSION=$(docker run -i --rm php:${{ matrix.build.php }}-fpm-${{ matrix.build.distro }} php -r 'echo PHP_VERSION;') + PHP_SUB_VERSION=$(docker run --pull=always -i --rm php:${{ matrix.build.php }}-fpm-${{ matrix.build.distro }} php -r 'echo PHP_VERSION;') for imageVariant in "${imageVariants[@]}"; do echo "Building plain image: $imageVariant" @@ -184,7 +184,7 @@ jobs: echo "${VERSION}" > ".docker-state/${imageVariant}/version.txt" echo "${TAG}" > ".docker-state/${imageVariant}/tag.txt" - docker build --load \ + docker build --pull --load \ --provenance=false \ --platform "linux/${ARCH_TAG}" \ --target="pimcore_php_${imageVariant}" \ diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 24c15cf4..6da905ca 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: imageVariants=("min" "default" "max" "debug" "supervisord") for imageVariant in "${imageVariants[@]}"; do - docker build --tag pimcore-image \ + docker build --pull --tag pimcore-image \ --target="pimcore_php_$imageVariant" \ --build-arg PHP_VERSION="${{ matrix.php }}" \ --build-arg DEBIAN_VERSION="${{ matrix.distro }}" \