Skip to content

Cleanup E2E Images

Cleanup E2E Images #4

name: Cleanup E2E Images
permissions:
contents: read
on:
schedule:
- cron: "0 4 * * 0" # Weekly, Sunday 4 AM UTC
workflow_dispatch:
jobs:
cleanup:
name: Delete old e2e image tags
runs-on: ubuntu-latest
environment: e2e
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Install regctl
run: |
curl -sL https://github.com/regclient/regclient/releases/download/v0.11.2/regctl-linux-amd64 -o /usr/local/bin/regctl
chmod +x /usr/local/bin/regctl
- name: Clean up e2e-* tags from capcs-staging
env:
QUAY_E2E_USERNAME: ${{ secrets.QUAY_E2E_USERNAME }}
QUAY_E2E_PASSWORD: ${{ secrets.QUAY_E2E_PASSWORD }}
run: make clean-e2e-images