louisthomas
6/4/2018 - 2:52 PM

Concourse inline task

- name: deploy
  plan:
    - get: repo
      passed: [build]
      trigger: true
    - task: extract
      config:
        platform: linux
        image_resource:
          type: docker-image
          source:
            repository: busybox
        inputs:
        - name: repo
        outputs:
        - name: deployment
        run:
          path: sh
          args:
          - -cxe
          - |
            find .
            tar -xvzf repo/*.tar.gz -C ./deployment