Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-14 03:52:54 +01:00
897bdf8343
- Update the workflow GH Actions. - Configured the release workflow to always run on main/tag as discussed in #4226 Closes #4226
26 Zeilen
697 B
YAML
26 Zeilen
697 B
YAML
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
manual_trigger:
|
|
description: "Manual trigger buildcache cleanup"
|
|
required: false
|
|
default: ""
|
|
|
|
schedule:
|
|
- cron: '0 1 * * FRI'
|
|
|
|
name: Cleanup
|
|
jobs:
|
|
releasecache-cleanup:
|
|
name: Releasecache Cleanup
|
|
runs-on: ubuntu-22.04
|
|
continue-on-error: true
|
|
timeout-minutes: 30
|
|
steps:
|
|
- name: Delete vaultwarden-buildcache containers
|
|
uses: actions/delete-package-versions@e5bc658cc4c965c472efe991f8beea3981499c55 # v5.0.0
|
|
with:
|
|
package-name: 'vaultwarden-buildcache'
|
|
package-type: 'container'
|
|
min-versions-to-keep: 0
|
|
delete-only-untagged-versions: 'false'
|