Skip to content

Commit

Permalink
use registry cache for infinite cache size and expiry
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesw committed Nov 25, 2024
1 parent e1b9ad8 commit c621ad7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bld_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ jobs:
push: true
tags: ${{ secrets.DOCKER_REG_PRIVATE }}/${{ matrix.docker_name}}:${{ steps.version.outputs.version_tag_numeric }}
context: ${{ inputs.context }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
cache-from: type=registry,ref=${{ secrets.DOCKER_REG_PRIVATE }}/${{ matrix.docker_name }}:cache
cache-to: type=registry,mode=max,image-manifest=true,oci-mediatypes=true,ref=${{ secrets.DOCKER_REG_PRIVATE }}/${{ matrix.docker_name }}:cache
build-args: ${{ matrix.build_args }}
file: ${{ steps.dynamic_defaults.outputs.default_file }}

0 comments on commit c621ad7

Please sign in to comment.