Skip to content

Commit

Permalink
Try no restriction on name
Browse files Browse the repository at this point in the history
  • Loading branch information
vedran-kasalica committed Sep 2, 2024
1 parent c20030e commit 80a4ab1
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/clean-containers.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: "Clean the old docker images"

on:
push:
branches:
- main
workflow_dispatch: # Manual trigger
schedule:
- cron: "21 21 * * *" # Scheduled run
Expand All @@ -25,10 +22,9 @@ jobs:
uses: snok/[email protected]
with:
account: user
image-names: ${{ env.REGISTRY }}/${{ env.REPO }}
image-names: "!latest"
token: ${{ secrets.GH_REPO_TOKEN }}
image-tags: "pr*" # target any image that has a tag starting with the word test or dev
# image-tags: "!latest"
image-tags: "!latest"
cut-off: 2w 3d
dry-run: true

0 comments on commit 80a4ab1

Please sign in to comment.