diff --git a/.github/workflows/full_build.yml b/.github/workflows/full_build.yml index 5f984d18..953b8e15 100644 --- a/.github/workflows/full_build.yml +++ b/.github/workflows/full_build.yml @@ -60,4 +60,4 @@ jobs: continue-on-error: true - name: Print completion message - run: echo "Docker repository update complete." \ No newline at end of file + run: echo "Docker repository update complete." diff --git a/update-docker-repo-info.py b/update-docker-repo-info.py index 9dbaa02e..e2139b51 100755 --- a/update-docker-repo-info.py +++ b/update-docker-repo-info.py @@ -385,6 +385,9 @@ def process_image(image_name, force): print("Stderr: {}".format(e.stderr)) os.remove(temp_file.name) raise + finally: + print(f"Removing Docker image from local runner: {full_name}") + subprocess.call(["docker", "rmi", full_name]) def process_org(org_name, force):