This might be better declared as Prepare-Volume or:

    Volumes:
    - Type: Prepare
      Location: /tmp/repo

Not sure which is better - simpler might be better for now.