ci: improve caching steps (#371)

Signed-off-by: rmdg88 <rmdg88@gmail.com>
This commit is contained in:
Rui Dias Gomes
2025-09-23 17:15:12 +01:00
committed by GitHub
parent ba61af2359
commit fa1c5f04f3
3 changed files with 6 additions and 4 deletions

View File

@@ -108,6 +108,7 @@ jobs:
cache-to: type=gha,mode=max
file: Containerfile
build-args: ${{ inputs.build_args }}
pull: true
##
## This stage runs after the build, so it leverages all build cache
##
@@ -226,7 +227,8 @@ jobs:
cache-to: type=gha,mode=max
file: Containerfile
build-args: ${{ inputs.build_args }}
pull: true
- name: Remove Local Docker Images
- name: Remove local Docker images
run: |
docker image prune -af