$inherits:
  from: 'build.yml'


task:
  workerType: b2gbuild

  scopes:
    # docker build tasks use tc-vcs so include the scope.
    - 'docker-worker:cache:level-{{level}}-{{project}}-tc-vcs'

  payload:

    cache:
      level-{{level}}-{{project}}-tc-vcs: '/home/worker/.tc-vcs'

    # All docker builds share a common artifact directory for ease of uploading.
    artifacts:
      'public/build':
        type: directory
        path: '/home/worker/artifacts/'
        expires:
          relative-datestamp: '1 year'
