diff --git a/.github/workflows/container_retention.yml b/.github/workflows/container_retention.yml new file mode 100644 index 000000000..8f4fc936d --- /dev/null +++ b/.github/workflows/container_retention.yml @@ -0,0 +1,17 @@ +on: + workflow_dispatch: + schedule: + - cron: "0 0 * * *" # run every day at midnight + +jobs: + delete-package-versions: + name: Delete package versions older than 4 weeks + runs-on: ubuntu-latest + steps: + - uses: snok/container-retention-policy@v3.0.0 + with: + account: tenstorrent + token: ${{ secrets.GH_TOKEN }} + image-names: "tt-mlir*" + cut-off: 4w + dry-run: false \ No newline at end of file diff --git a/.github/workflows/nightly-uplift.yml b/.github/workflows/nightly-uplift.yml index a0f6eb534..85a06ccc0 100644 --- a/.github/workflows/nightly-uplift.yml +++ b/.github/workflows/nightly-uplift.yml @@ -5,7 +5,7 @@ name: Nighty Uplift on: schedule: - - cron: '0 8 * * *' # Runs at 08:00 UTC every day + - cron: "0 0 * * *" # run every day at midnight workflow_dispatch: # Manual trigger jobs: