Sift the flour into a bowl. Add salt and garlic. Rub the cold butter cut into pieces through the flour, add water and knead everything into a smooth dough. Roll out the dough and line a quiche dish with a 20 cm diameter. Prick the dough several times with a fork.
Fry the onion rings in oil for about 3 minutes, add the artichokes and stir-fry for another 2 minutes. Remove from the pan and drain. Mix the two types of cheese with the eggs, rosemary and milk, add the artichokes and onions and season with salt and pepper. Pour the mixture on the dough and bake the quiche in the preheated oven at 200 degrees for about 25 minutes.