Skip to content

Commit

Permalink
fix(ci): add artifact cleaner, make docker publish sections consistent (
Browse files Browse the repository at this point in the history
  • Loading branch information
Dexter Lee authored May 19, 2022
1 parent 5b248e9 commit 37ae1ca
Show file tree
Hide file tree
Showing 2 changed files with 220 additions and 127 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/delete-artifacts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Remove old artifacts

on:
schedule:
# Every day at 1am
- cron: '0 * * * *'
workflow_dispatch:

jobs:
remove-old-artifacts:
runs-on: ubuntu-latest
timeout-minutes: 20

steps:
- name: Remove old artifacts
uses: c-hive/gha-remove-artifacts@v1
with:
age: '1 second'
Loading

0 comments on commit 37ae1ca

Please sign in to comment.