Skip to content

Migrate drake-ros to Bzlmod #2

Migrate drake-ros to Bzlmod

Migrate drake-ros to Bzlmod #2

Workflow file for this run

name: drake-ros registry maintenance

Check failure on line 1 in .github/workflows/maintenance.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/maintenance.yml

Invalid workflow file

(Line: 18, Col: 24): Unexpected symbol: '('. Located at position 30 within expression: github.repository.toLowerCase()
on:
schedule:
- cron: "0 0 * * 0" # once a week
env:
ORGANIZATION_NAME: RobotLocomotion
jobs:
clean_registry:
name: Prune old images from registry
runs-on: ubuntu-latest
steps:
- name: Delete old pull request images
uses: snok/container-retention-policy@v2
with:
image-names: ${{ github.repository.toLowerCase() }}
skip-tags: main
cut-off: One week ago UTC
org-name: ${{ env.ORGANIZATION_NAME }}
account-type: org
token: ${{ secrets.GITHUB_TOKEN }}
token-type: github-token