Skip to content

Cleanup dev registries #9

Cleanup dev registries

Cleanup dev registries #9

Workflow file for this run

name: Cleanup dev registries
env:
MODULES_REGISTRY: ${{ vars.DEV_REGISTRY }}
CI_COMMIT_REF_NAME: ${{ github.ref_name }}
MODULES_MODULE_NAME: ${{ vars.MODULE_NAME }}
MODULES_MODULE_SOURCE: ${{ vars.DEV_MODULE_SOURCE }}
MODULES_REGISTRY_LOGIN: ${{ vars.DEV_MODULES_REGISTRY_LOGIN }}
MODULES_REGISTRY_PASSWORD: ${{ secrets.DEV_MODULES_REGISTRY_PASSWORD }}
MODULES_MODULE_TAG: v0.0.0-main
WERF_DRY_RUN: "false"
on:
workflow_dispatch:
schedule:
- cron: '12 0 * * 6'
jobs:
lint:
runs-on: ubuntu-latest
name: Run cleanup
steps:
- uses: actions/checkout@v4
- uses: deckhouse/modules-actions/setup@v1
- name: Cleanup
run: |
werf cleanup \
--repo ${MODULES_MODULE_SOURCE}/${MODULES_MODULE_NAME} \
--without-kube=true
shell: bash