Delete old DockerHub tags #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Delete old DockerHub tags | |
on: | |
schedule: | |
- cron: "0 13 * * 0" # Every Sunday at 1PM UTC (9AM EST) | |
jobs: | |
clean: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-java@v3 | |
with: | |
distribution: temurin | |
java-version: 11 | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v2 | |
with: | |
arguments: | | |
deleteEligibleDockerHubTags | |
'-Pisle.dockerhub.personal.access.token=${{ secrets.registry_token }}' | |
--no-parallel |