From d920a06fff3586be105bb3d31bf26cfcf7ced775 Mon Sep 17 00:00:00 2001 From: Tamas Gal <tgal@km3net.de> Date: Sun, 1 Mar 2020 14:13:49 +0100 Subject: [PATCH] Fix branch path --- publish_images.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish_images.py b/publish_images.py index 95e93b2..938fa0b 100755 --- a/publish_images.py +++ b/publish_images.py @@ -11,7 +11,7 @@ IS_TEST_BRANCH = '-t' in sys.argv def get_changed_dockerfiles(vs_master=False): """Checks the last Git commit and returns a list of changed Dockefiles""" if vs_master: - diff_cmd = "git --no-pager diff --name-only master" + diff_cmd = "git --no-pager diff --name-only origin/master" else: diff_cmd = "git diff-tree --no-commit-id --name-only -r HEAD" child = sp.Popen(diff_cmd, shell=True, stdout=sp.PIPE, stderr=sp.PIPE) -- GitLab