From 95bc7639d0a2c8baa0be7d0fd9bbde09567279aa Mon Sep 17 00:00:00 2001 From: vinayakgadag Date: Sat, 16 Apr 2022 17:09:30 -0400 Subject: [PATCH] #30-milestone3: add docker-image resource and job to build and publish docker images to dockerhub --- .../concourse_cd/data_source_api.yml | 20 ++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/deployment_scripts/concourse_cd/data_source_api.yml b/deployment_scripts/concourse_cd/data_source_api.yml index e6bf04f..2b87cb4 100644 --- a/deployment_scripts/concourse_cd/data_source_api.yml +++ b/deployment_scripts/concourse_cd/data_source_api.yml @@ -40,9 +40,23 @@ jobs: plan: - get: git-ds trigger: true - - put: build-image - params: - build: git-ds/datasource_service + - task: + privileged: true + config: + platform: linux + image_resource: + type: registry-image + source: + repository: concourse/oci-build-task + inputs: + - name: git-ds + outputs: + - name: milestone3 + params: + CONTEXT: git-ds/datasource_service + UNPACK_ROOTFS: true + run: + path: build - name: "deploy-application" plan: