1
Fork 0

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
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

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