diff --git a/php/.gitlab-ci.yml b/php/.gitlab-ci.yml index 64c139a..f23466b 100644 --- a/php/.gitlab-ci.yml +++ b/php/.gitlab-ci.yml @@ -1,8 +1,9 @@ .default_build_template: &build_template stage: build + needs: ["build_base"] script: - buildah info - - buildah bud --storage-driver=${STORAGE_DRIVER} -t ${FQ_IMAGE_NAME}:php${PHP_VERSION} -f php/Dockerfile.php${PHP_VERSION} . + - buildah bud --storage-driver=${STORAGE_DRIVER} --pull -t ${FQ_IMAGE_NAME}:php${PHP_VERSION} -f php/Dockerfile.php${PHP_VERSION} . - echo "$CI_REGISTRY_PASSWORD" | buildah login -u "$CI_REGISTRY_USER" --password-stdin "$CI_REGISTRY" - buildah push ${FQ_IMAGE_NAME}:php${PHP_VERSION} rules: