From a09f1f82e569b2a77b129c9a750b7328f90a77d0 Mon Sep 17 00:00:00 2001 From: Jamie Klassen Date: Wed, 20 Sep 2017 15:12:17 -0400 Subject: [PATCH] build docker image automatically [finish #151264409] Signed-off-by: Yash Pancholi --- ci/pipelines/release.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ci/pipelines/release.yml b/ci/pipelines/release.yml index 732596945..e00c7219a 100644 --- a/ci/pipelines/release.yml +++ b/ci/pipelines/release.yml @@ -6,6 +6,14 @@ resources: private_key: ((CfOslBotPrivateKey)) branch: master +- name: lf-dockerfile + type: git + source: + uri: git@github.com:pivotal/LicenseFinder.git + private_key: ((CfOslBotPrivateKey)) + branch: master + paths: ["Dockerfile"] + - name: lf-image type: docker-image source: @@ -24,10 +32,11 @@ resources: jobs: - name: docker plan: - - get: lf-git + - get: lf-dockerfile + trigger: true - put: lf-image params: - build: lf-git + build: lf-dockerfile - name: release plan: