From 5c29725ad1afb41c617f57d693efe2e314e6b52f Mon Sep 17 00:00:00 2001 From: Tomasz Setkowski Date: Fri, 30 Nov 2018 19:25:38 +0000 Subject: [PATCH] fix fetch destination and push in docker build --- ci.gocd.yaml | 6 +++--- tasks.sh | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ci.gocd.yaml b/ci.gocd.yaml index a6d68c4b..f17b7d71 100644 --- a/ci.gocd.yaml +++ b/ci.gocd.yaml @@ -41,8 +41,8 @@ pipelines: - exec: command: /bin/bash arguments: - - ./tasks.sh - - test_docker + - -c + - "ops_docker_push=true ./tasks.sh build_docker" - release: approval: manual clean_workspace: true @@ -72,7 +72,7 @@ pipelines: stage: docker job: docker source: imagerc - destination: + destination: docker/ is_file: true - exec: command: /bin/bash diff --git a/tasks.sh b/tasks.sh index eddc4d52..43949743 100755 --- a/tasks.sh +++ b/tasks.sh @@ -7,7 +7,7 @@ source .build/releaser releaser_init -image_name_no_registry="gocd-yaml" +image_name_no_registry="gocd-yaml-ide" private_image_name="docker-registry.ai-traders.com/${image_name_no_registry}" public_image_name="tomzo/${image_name_no_registry}" image_dir="./docker"