Try to use Docker image from registry as cache

This commit is contained in:
Andrey Danilov
2024-06-05 21:05:20 +03:00
parent a125bc6631
commit 2c4c2964ec

View File

@@ -49,6 +49,8 @@ jobs:
tags: |
ghcr.io/${{ steps.repository-lowercase.outputs.lowercase }}:${{ github.ref_name }}
ghcr.io/${{ steps.repository-lowercase.outputs.lowercase }}:latest
cache-from: type=registry,ref=ghcr.io/${{ steps.repository-lowercase.outputs.lowercase }}:latest
cache-to: type=registry,ref=ghcr.io/${{ steps.repository-lowercase.outputs.lowercase }}:latest,mode=max
- name: Check Disk Space on workflow failure
if: failure()