Skip to content

Commit

Permalink
Merge branch 'ublue-os:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
apoordev authored Nov 30, 2024
2 parents 39a1d89 + 1289506 commit 1f1f78c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
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: silverblue-main,kinoite-main,sericea-main,onyx-main,base-main,lazurite-main,vauxite-main
older-than: 90 days
delete-orphaned-images: true
keep-n-tagged: 7
keep-n-untagged: 7
6 changes: 3 additions & 3 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
- name: Get current version
id: labels
uses: Wandalen/[email protected].2
uses: Wandalen/[email protected].3
with:
attempt_limit: 3
attempt_delay: 15000
Expand All @@ -153,7 +153,7 @@ jobs:
echo "SOURCE_IMAGE_VERSION=$ver" >> $GITHUB_ENV
- name: Pull Images
uses: Wandalen/[email protected].2
uses: Wandalen/[email protected].3
with:
attempt_limit: 3
attempt_delay: 15000
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:
string: ${{ env.IMAGE_REGISTRY }}

- name: Push To GHCR
uses: Wandalen/[email protected].2
uses: Wandalen/[email protected].3
id: push
if: github.event_name != 'pull_request'
env:
Expand Down
1 change: 0 additions & 1 deletion packages.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"kinoite": [
"icoutils",
"kate",
"kcron",
"kio-admin",
"ksshaskpass"
],
Expand Down

0 comments on commit 1f1f78c

Please sign in to comment.