Skip to content

Commit

Permalink
Merge pull request #286 from ELIXIR-NO/workflow-for-removing-old-images
Browse files Browse the repository at this point in the history
Workflow for removing old images
  • Loading branch information
kjellp authored Oct 31, 2024
2 parents c9f33fc + 6b41c1e commit 1f0874a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/remove-old-images.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Remove Old Images
on:
schedule:
- cron: '10 02 * * 1'
jobs:
remove-old-images:
runs-on: ubuntu-latest
steps:
- name: Remove old images
uses: snok/[email protected]
with:
account: '${{ github.repository_owner }}'
cut-off: '8w'
image-names: 'fega-norway'
image-tags: '*-[0-9]* sha-* latest'
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1f0874a

Please sign in to comment.