forked from ublue-os/main
-
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.
Merge branch 'ublue-os:main' into main
- Loading branch information
Showing
3 changed files
with
27 additions
and
4 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 |
---|---|---|
@@ -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 |
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 |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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: | ||
|
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 |
---|---|---|
|
@@ -65,7 +65,6 @@ | |
"kinoite": [ | ||
"icoutils", | ||
"kate", | ||
"kcron", | ||
"kio-admin", | ||
"ksshaskpass" | ||
], | ||
|