From 63cb106ee37758285712bd95e11454aee506e19b Mon Sep 17 00:00:00 2001 From: omidshj Date: Mon, 2 Sep 2024 13:32:57 +0330 Subject: [PATCH] Update build ocean.yml --- build ocean.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build ocean.yml b/build ocean.yml index 0614053..58d32c6 100644 --- a/build ocean.yml +++ b/build ocean.yml @@ -9,14 +9,14 @@ # version: master # register: git_result - name: Go to the ocean directory - command: chdir=/root/code/ocean git pull origin master + command: "chdir={{directory}} git pull origin master" register: git_result - name: Build docker image if there were changes docker_image: source: build build: - path: /root/code/ocean + path: "{{/root/code/ocean}}" name: ocean tag: "{{semaphore_vars.task_details.target_version}}" when: git_result.changed \ No newline at end of file