Skip to content

Commit

Permalink
Merge branch 'main' into testing
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Nov 26, 2024
2 parents b42365c + 695350a commit eb32304
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/clean.yml
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

0 comments on commit eb32304

Please sign in to comment.