Skip to content

Commit

Permalink
Registry type cache
Browse files Browse the repository at this point in the history
  • Loading branch information
mattbell87 committed Feb 21, 2024
1 parent c8d636e commit ecfd5e3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ jobs:
push: false
tags: cmfive-boilerplate:latest
load: true # Use the built image in the next step
cache-from: type=gha
cache-to: type=gha,mode=max
cache-from: type=registry,ref=2pisoftware/cmfive-boilerplate:buildcache
cache-to: type=registry,ref=2pisoftware/cmfive-boilerplate:buildcache,mode=max

# Build the theme, copy it to boilerplate, tag and push
- name: Build and push cmfive image
Expand All @@ -69,7 +69,6 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

cache-from: type=registry,ref=2pisoftware/cmfive:buildcache
cache-to: type=registry,ref=2pisoftware/cmfive:buildcache,mode=max

0 comments on commit ecfd5e3

Please sign in to comment.