Skip to content

Commit

Permalink
(actions) cleanup untagged containers (#684)
Browse files Browse the repository at this point in the history
* (actions) cleanup untagged containers

These can be created in case of failing actions

* Bump VERSION to 1.12.1
  • Loading branch information
MatthijsBurgh authored Sep 13, 2023
1 parent c8f82be commit 250c3f6
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/cleanup_untagged_containers.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Cleanup untagged containers

on:
schedule:
- cron: '0 2 * * *'
workflow_dispatch:

jobs:
delete_untagged_containers:
name: Delete untagged containers
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package_name: ["tue-env-ros-noetic", "tue-env-ros-galactic", "tue-env-ros-humble"]
steps:
- uses: actions/delete-package-versions@v4
with:
package-name: ${{ matrix.package_name }}
package-type: container
delete-only-untagged-versions: true
min-versions-to-keep: 0
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.12.0
1.12.1

0 comments on commit 250c3f6

Please sign in to comment.