mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-16 16:20:48 +00:00
Merge branch 'main' into testing
This commit is contained in:
commit
eb3230444f
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -160,7 +160,7 @@ jobs:
|
||||
uses: ublue-os/remove-unwanted-software@v7
|
||||
|
||||
- name: Pull main, akmods, rechunk images
|
||||
uses: Wandalen/wretry.action@v3.7.2
|
||||
uses: Wandalen/wretry.action@v3.7.3
|
||||
with:
|
||||
attempt_limit: 3
|
||||
attempt_delay: 15000
|
||||
@ -176,7 +176,7 @@ jobs:
|
||||
|
||||
- name: Get source versions
|
||||
id: labels
|
||||
uses: Wandalen/wretry.action@v3.7.2
|
||||
uses: Wandalen/wretry.action@v3.7.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/wretry.action@v3.7.2
|
||||
uses: Wandalen/wretry.action@v3.7.3
|
||||
id: push
|
||||
if: github.event_name != 'pull_request'
|
||||
with:
|
||||
|
24
.github/workflows/clean.yml
vendored
Normal file
24
.github/workflows/clean.yml
vendored
Normal file
@ -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/ghcr-cleanup-action@v1.0.13
|
||||
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
|
Loading…
x
Reference in New Issue
Block a user