---
platform: linux
image_resource:
  type: docker-image
  source:
    repository: cfbuildpacks/ci
inputs:
  - name: pivotal-buildpack
  - name: pivotal-buildpack-cached
  - name: buildpacks-ci
  - name: buildpack
outputs:
  - name: buildpack-artifacts
run:
  path: bash
  args:
    - -cl
    - |
      set -e
      pushd buildpacks-ci
        tasks/detect-and-upload/run.rb
      popd
params:
  RUBYGEM_MIRROR:
  CF_STACK:
  BUILDPACK_NAME:
  GIT_REPO_ORG:
---
platform: linux
image_resource:
  type: docker-image
  source:
    repository: cfbuildpacks/ci
inputs:
  - name: pivotal-buildpack
    option: true
  - name: pivotal-buildpack-cached
    option: true
  - name: buildpacks-ci
  - name: buildpack
outputs:
  - name: buildpack-artifacts
run:
  path: bash
  args:
    - -cl
    - |
      set -e
      pushd buildpacks-ci
        tasks/detect-and-upload/run.rb
      popd
params:
  RUBYGEM_MIRROR:
  CF_STACK:
  BUILDPACK_NAME:
  GIT_REPO_ORG:

Set s3 buckets as option inputs
Set s3 buckets as option inputs

- This task only needs these inputs when the tag for this release exists

[#161042249]

Co-authored-by: Guillermo Kardolus <f995e5708409e0468f92322e706c77752cc6c0d4@pivotal.io>
