- 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