Skip to content

Commit

Permalink
#221 💚 clean up maven snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
d-ryan-ashcraft committed Jul 25, 2024
1 parent 3a9bacb commit b4e6dfe
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/prune.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ name: Prune ghcr.io
on:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
inputs:
buildBranch:
description: "Branch you want to build"
required: true
type: string
default: 'aissemble-* com.boozallen-*'

schedule:
- cron: "0 0 * * *" # every day at midnight
Expand All @@ -18,7 +24,7 @@ jobs:
- name: Prune
uses: snok/container-retention-policy@v2
with:
image-names: aissemble-*
image-names: ${{ inputs.imageName }}
cut-off: Two days ago UTC
account-type: org
org-name: boozallen
Expand Down

0 comments on commit b4e6dfe

Please sign in to comment.