-
-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
27 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -160,7 +160,7 @@ jobs: | |
uses: ublue-os/remove-unwanted-software@v7 | ||
|
||
- name: Pull main, akmods, rechunk images | ||
uses: Wandalen/[email protected].2 | ||
uses: Wandalen/[email protected].3 | ||
with: | ||
attempt_limit: 3 | ||
attempt_delay: 15000 | ||
|
@@ -176,7 +176,7 @@ jobs: | |
- name: Get source versions | ||
id: labels | ||
uses: Wandalen/[email protected].2 | ||
uses: Wandalen/[email protected].3 | ||
with: | ||
attempt_limit: 3 | ||
attempt_delay: 15000 | ||
|
@@ -381,7 +381,7 @@ jobs: | |
|
||
# Push the image to GHCR (Image Registry) | ||
- name: Push To GHCR | ||
uses: Wandalen/[email protected].2 | ||
uses: Wandalen/[email protected].3 | ||
id: push | ||
if: github.event_name != 'pull_request' | ||
with: | ||
|
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,24 @@ | ||
name: Cleanup Old Images | ||
on: | ||
schedule: | ||
- cron: "15 0 * * 0" # 0015 UTC on Sundays | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | ||
|
||
jobs: | ||
delete-older-than-90: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
packages: write | ||
steps: | ||
- name: Delete Images Older Than 90 Days | ||
uses: dataaxiom/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
packages: bazzite,bazzite-ally-budgie,bazzite-asus-nvidia,bazzite-asus-nvidia-open,bazzite-budgie,bazzite-budgie-asus,bazzite-budgie-asus-nvidia,bazzite-budgie-nvidia,bazzite-budgie-surface,bazzite-budgie-surface-nvidia,bazzite-deck,bazzite-deck-budgie,bazzite-deck-gnome,bazzite-deck-gnome-nokmods,bazzite-deck-gnome-nvidia,bazzite-deck-nokmods,bazzite-deck-nvidia,bazzite-framegame-budgie,bazzite-gnome,bazzite-gnome-asus-nvidia,bazzite-gnome-asus-nvidia-open,bazzite-gnome-nokmods,bazzite-gnome-nvidia,bazzite-gnome-nvidia-open,bazzite-nokmods,bazzite-nvidia,bazzite-nvidia-open | ||
older-than: 90 days | ||
delete-orphaned-images: true | ||
keep-n-tagged: 7 | ||
keep-n-untagged: 7 |