From 8ae1b58b4335c9be3b733d0fffd13b81fff8a2cc Mon Sep 17 00:00:00 2001 From: omidshj Date: Fri, 17 May 2024 12:02:07 +0330 Subject: [PATCH] i3v --- i3v.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 i3v.yml diff --git a/i3v.yml b/i3v.yml new file mode 100644 index 0000000..04bd185 --- /dev/null +++ b/i3v.yml @@ -0,0 +1,19 @@ +--- +- name: update inception + hosts: all + tasks: + - name: Change to the app directory and update the repository + git: + repo: 'https://gt.eron.co/eron/inception.git' # Replace with your repository URL + dest: /root/code/inception + version: master + register: git_result + + - name: Build docker image if there were changes + docker_image: + source: build + build: + path: /root/code/inception + name: inception + tag: "13.2" + when: git_result.changed \ No newline at end of file