BililiveRecorder/.github/workflows/delete-old-container-images.yml

21 lines
448 B
YAML
Raw Normal View History

2022-05-19 18:56:12 +08:00
name: Delete old container images
on:
workflow_dispatch:
schedule:
- cron: '33 23 * * 1,4'
jobs:
run_script:
runs-on: ubuntu-latest
2022-05-19 18:59:26 +08:00
permissions:
contents: read
packages: write
2022-05-19 18:56:12 +08:00
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Run script
2022-05-19 19:03:16 +08:00
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2022-05-19 18:56:12 +08:00
run: cd .github/delete-old-container-images/ && npm ci && node index.js