Skip to content

Commit

Permalink
Try to use snok/container-retention-policy.
Browse files Browse the repository at this point in the history
  • Loading branch information
gregschmit committed Apr 7, 2024
1 parent 9c54bcb commit 2c7607f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,14 @@ jobs:
# We use `kamal setup` rather than `kamal deploy` so if we add or reprovision nodes, they
# get configured and the env is always pushed.
run: bundle exec kamal setup
- uses: dylanratcliffe/delete-untagged-containers@main
- uses: snok/container-retention-policy@v2
with:
package_name: rails-rest-framework
image-names: rails-rest-framework
cut-off: one minute ago UTC+2
skip-tags: latest
account-type: personal
token: ${{ secrets.GITHUB_TOKEN }}
token-type: github-token
release:
needs: test
runs-on: ubuntu-latest
Expand Down

0 comments on commit 2c7607f

Please sign in to comment.