Skip to content

Docker Hub Retention #8

Docker Hub Retention

Docker Hub Retention #8

name: Docker Hub Retention
on:
schedule:
- cron: "0 2 * * 1"
workflow_dispatch:
jobs:
docker-hub-retention:
runs-on: [ubuntu-latest]
steps:
- name: mailcatcher
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/mailcatcher
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 1m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: maildev
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/maildev
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 1m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: mailhog
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/mailhog
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 1m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: pdftk
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/pdftk
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 1m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: poppler
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/poppler-server
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 1m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: puppeteer
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/puppeteer
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 1m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: tesseract
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/tesseract
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 1m
- match: build-cache.*
retention: 14d
dryrun: "true"
- name: unoserver
uses: philiplehmann/[email protected]
with:
repository: philiplehmann/unoserver
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
multiple: |
- match: ([0-9\.]+)-([0-9]+)
retention: 1m
- match: build-cache.*
retention: 14d
dryrun: "true"