---
image: docker:///c2cnetworking/deploy

platform: linux

inputs:
- name: netman-release

outputs:
- name: tarballs

run:
  path: bash
  args:
  - -c
  - |
    bosh create release --with-tarball --name $RELEASE_NAME --timestamp-version --dir netman-release && cp netman-release/dev_releases/$RELEASE_NAME/*.tgz tarballs
params:
  RELEASE_NAME: netman

---
image_resource:
  type: docker-image
  source: { repository: c2cnetworking/deploy }

platform: linux

inputs:
- name: netman-release

outputs:
- name: tarballs

run:
  path: bash
  args:
  - -c
  - |
    bosh create release --with-tarball --name $RELEASE_NAME --timestamp-version --dir netman-release && cp netman-release/dev_releases/$RELEASE_NAME/*.tgz tarballs
params:
  RELEASE_NAME: netman

Use concourse image_resource for pulling docker images
Use concourse image_resource for pulling docker images

Signed-off-by: Jay Dunkelberger <935fea2bc25e407ead5a8f270927e82e1e7c05de@pivotal.io>
