Skip to content

Commit

Permalink
ci: clean the Docker images on GitHub (#5)
Browse files Browse the repository at this point in the history
This is done once a week. Should be sufficient as we have one image per
feature branch only (not per commit). Released versions are kept
forever.
  • Loading branch information
kayman-mk authored Nov 16, 2023
1 parent f546b56 commit 41d1799
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/clean.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: clean packages

on:
schedule:
- cron: '30 1 * * 1'

jobs:
clean_packages:
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/delete-package-versions@v4
with:
package-name: errbot
package-type: container
# do not delete releases
ignore-versions: '^\d+\.\d+\.\d+$'

0 comments on commit 41d1799

Please sign in to comment.