The average price for petrol in Australia has risen to a record high, putting pressure on inflation.