github.com/cloudfoundry-attic/cli-with-i18n@v6.32.1-0.20171002233121-7401370d3b85+incompatible/ci/cli/tasks/extract-binaries.yml (about)

     1  ---
     2  platform: linux
     3  
     4  image_resource:
     5    type: docker-image
     6    source:
     7      repository: cfcli/cli-package
     8  
     9  inputs:
    10  - name: cf-cli-binaries
    11  
    12  outputs:
    13  - name: extracted-binaries
    14  
    15  run:
    16    path: bash
    17    args:
    18    - -c
    19    - |
    20      set -ex
    21      set -o pipefail
    22  
    23      pushd cf-cli-binaries
    24        tar xvf cf-cli-binaries.tgz
    25        rm cf-cli-binaries.tgz
    26      popd
    27  
    28      mv cf-cli-binaries/* extracted-binaries