Fix cache pushing problem. (#1052)

This commit is contained in:
Googol Lee
2024-09-13 16:11:29 +02:00
committed by GitHub
parent 4655684b49
commit 4b678f201d

View File

@@ -61,8 +61,8 @@ jobs:
push: ${{ env.IS_PUSHING_IMAGES }}
tags: ${{ steps.docker_meta.outputs.tags }}
labels: ${{ steps.docker_meta.outputs.labels }}
cache-from: ${{ env.IS_CACHING == 'true' && 'type=gha' }}
cache-to: ${{ env.IS_CACHING == 'true' && 'type=gha,mode=max' }}
cache-from: ${{ ( env.IS_CACHING == 'true' && 'type=gha' ) || '' }}
cache-to: ${{ ( env.IS_CACHING == 'true' && 'type=gha,mode=max' ) || '' }}
no-cache: ${{ env.IS_CACHING != 'true' }}
sbom: true
provenance: mode=max