Try registry buildcache
This commit is contained in:
parent
8a8d8a456c
commit
b364d04447
|
@ -30,12 +30,6 @@ jobs:
|
|||
with:
|
||||
install: true
|
||||
|
||||
# Cache docker layers
|
||||
- uses: satackey/action-docker-layer-caching@v0.0.11
|
||||
name: Cache Docker Layers
|
||||
# Ignore the failure of a step and avoid terminating the job.
|
||||
continue-on-error: true
|
||||
|
||||
# Login to GCR
|
||||
- name: Login to GCR
|
||||
uses: docker/login-action@v2
|
||||
|
@ -53,3 +47,5 @@ jobs:
|
|||
tags: |
|
||||
gcr.io/${{ env.PROJECT_ID }}/${{ env.IMAGE }}:${{ github.sha }}
|
||||
gcr.io/${{ env.PROJECT_ID }}/${{ env.IMAGE }}:latest
|
||||
cache-from: type=registry,ref=gcr.io/${{ env.PROJECT_ID }}/${{ env.IMAGE }}:buildcache
|
||||
cache-to: type=registry,ref=gcr.io/${{ env.PROJECT_ID }}/${{ env.IMAGE }}:buildcache,mode=max
|
||||
|
|
Loading…
Reference in New Issue