.default_build_template: &build_template stage: build needs: ["build_base"] script: - buildah info - 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: - changes: - php/** - Dockerfile.base - if: '$CI_PIPELINE_SOURCE == "schedule"' build_php82: <<: *build_template variables: PHP_VERSION: "82" build_php80: <<: *build_template variables: PHP_VERSION: "80" build_php74: <<: *build_template variables: PHP_VERSION: "74"