Skip to content

Commit

Permalink
fix fetch destination and push in docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzo committed Nov 30, 2018
1 parent ff3f6c8 commit 5c29725
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions ci.gocd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -72,7 +72,7 @@ pipelines:
stage: docker
job: docker
source: imagerc
destination:
destination: docker/
is_file: true
- exec:
command: /bin/bash
Expand Down
2 changes: 1 addition & 1 deletion tasks.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5c29725

Please sign in to comment.