Skip to content

Instantly share code, notes, and snippets.

@ymedlop
Last active May 30, 2016 13:16
Show Gist options
  • Save ymedlop/fe7d9804684971cb24d3f091119acbed to your computer and use it in GitHub Desktop.
Save ymedlop/fe7d9804684971cb24d3f091119acbed to your computer and use it in GitHub Desktop.
---
platform: linux
image_resource:
type: docker-image
source:
repository: {{registry-repo-url}}
username: {{registry-username}}
password: {{registry-password}}
email: {{registry-email}}
tag: 'latest'
inputs:
- name: app-repository
path: /go/src/github.com/example/app
run:
dir: /
path: sh
args:
- -exc
- |
ls
resources:
- name: app-repository
type: git
source:
uri: git@github.com:example/app.git
branch: master
private_key: {{git-private-key}}
jobs:
- name: build
plan:
- do:
- get: app-repository
trigger: true
- task: build
file: app-repository/scripts/ci/build/build.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment