Publish with retain flag