Skip to content

Migrate drake-ros to Bzlmod #1

Migrate drake-ros to Bzlmod

Migrate drake-ros to Bzlmod #1

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: 14, Col: 11): Unrecognized named-value: 'env'. Located at position 1 within expression: env.REGISTRY_URL
on:
schedule:
- cron: "0 0 * * 0" # once a week
env:
ORGANIZATION_NAME: RobotLocomotion
IMAGE_NAME: RobotLocomotion/drake-ros
REGISTRY_URL: ghcr.io
jobs:
clean_registry:
name: Prune old images from ${{ env.REGISTRY_URL }}
runs-on: ubuntu-latest
steps:
- name: Delete old pull request images
uses: snok/container-retention-policy@v2
with:
image-names: ${{ env.IMAGE_NAME }}
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