Have dockerhub cleanup use same logic as ghcr cleanup [skip-release]#533
Merged
aOelschlager merged 5 commits intomainfrom Jan 28, 2026
Merged
Have dockerhub cleanup use same logic as ghcr cleanup [skip-release]#533aOelschlager merged 5 commits intomainfrom
aOelschlager merged 5 commits intomainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR has our dockerhub and GHCR docker image cleanup logic use the same bash scripts, replacing the kotlin plugin for dockerhub. The logic is:
[0-9]+\.[0-9]+\.[0-9]+with minor/patch being optional)maintags--yoloflag is passedBefore passing the
--yoloflag I ran the job onbaseand it would cleanup the following images (output in code block below)I ran a full job here so we can see what it would delete: https://github.com/Islandora-Devops/isle-buildkit/actions/runs/21253820679
Then added the
--yoloflag to the job, so this will run on Sundays again once this merges. a648dc6This gives us better visibility into what is happening in the job, and has dockerhub and GHCR use the same logic. The gradle plugin was pretty silent so was difficult to tell what it was doing on a given run.
Relates to #531
Closes #403