cleanup old images after build
build / build (push) Successful in 41s Details

This commit is contained in:
Nick Seguin 2024-02-25 20:15:02 -06:00
parent 6abd602a91
commit 1d1aefcd96
Signed by: nseguin
GPG Key ID: 68C99FA84079021D
1 changed files with 3 additions and 1 deletions

View File

@ -13,4 +13,6 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: docker build
run: docker build -t nseguin42/website:${{ github.sha }} .
run: docker build -t nseguin42/website:${{ github.sha }} .
- name: cleanup old images
run: docker image prune -f --filter "until=24h"