Skip to content

Commit

Permalink
Update update-docker-repo-info.py
Browse files Browse the repository at this point in the history
  • Loading branch information
amshamah419 authored Oct 7, 2024
1 parent 083ea79 commit a9974f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion update-docker-repo-info.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ def list_os_packages(image_name, out_file):
def process_image(image_name, force):
print("=================\nProcessing: " + image_name)
master_dir = f'docker/{image_name.split("/")[1]}'
master_date = subprocess.check_output(['git', '--no-pager', 'log', '-1', '--format=%ct', 'origin/master', '--', master_dir], text=True, cwd=DOCKERFILES_DIR).strip()
master_date = subprocess.check_output(['git', '--no-pager', 'log', '-1', '--format=%ct', 'origin/runner-memory', '--', master_dir], text=True, cwd=DOCKERFILES_DIR).strip()
if not master_date:
print(f"Skipping image: {image_name} as it is not in our master repository")
return
Expand Down

0 comments on commit a9974f6

Please sign in to comment.