Skip to content

Commit 105d9f8

Browse files
authored
Push before parsing on diff
1 parent e8bc19c commit 105d9f8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ddiff.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,12 @@ def pull_images(tags):
163163
# print_debug("Done.")
164164

165165
def diff_image(base_tag, target_tag):
166+
push_images([base_tag, target_tag])
167+
166168
base_tag = _prepare_tag(base_tag)
167169
target_tag = _prepare_tag(target_tag)
168170
target_repo = target_tag.split(":")[0]
169171

170-
push_images([base_tag, target_tag])
171-
172172
user_dir = os.getcwd()
173173
output_dir = os.path.join(user_dir, ".ddiff-image")
174174
shutil.rmtree(output_dir, ignore_errors=True)

0 commit comments

Comments
 (0)