-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GitHub Actions for Docker images (#30)
- Loading branch information
1 parent
d6bd0aa
commit 82d301d
Showing
2 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: Cleanup old Docker Images from GitHub Container Registry | ||
|
||
on: | ||
workflow_dispatch: # Creates button in web UI to run the workflow manually, shouldn't be needed | ||
schedule: | ||
- cron: '0 0 * * *' # Run at 00:00 UTC every day | ||
|
||
jobs: | ||
cleanup: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Delete old untagged packages | ||
uses: actions/delete-package-versions@v5 | ||
with: | ||
package-name: implementation-bridge-repo-converter | ||
package-type: container | ||
min-versions-to-keep: 10 | ||
ignore-versions: '^v\d+\.\d+\.\d+$' |