Fix cache flag in dependencies workflow. (#1050)
This commit is contained in:
parent
49ae7d17df
commit
4655684b49
|
@ -49,6 +49,7 @@ jobs:
|
||||||
images: ${{ env.DOCKER_IMAGE }}
|
images: ${{ env.DOCKER_IMAGE }}
|
||||||
# Docker tags based on the following events/attributes
|
# Docker tags based on the following events/attributes
|
||||||
tags: |
|
tags: |
|
||||||
|
type=raw,value=latest
|
||||||
type=sha
|
type=sha
|
||||||
|
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
|
@ -62,7 +63,7 @@ jobs:
|
||||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||||
cache-from: ${{ env.IS_CACHING == 'true' && 'type=gha' }}
|
cache-from: ${{ env.IS_CACHING == 'true' && 'type=gha' }}
|
||||||
cache-to: ${{ env.IS_CACHING == 'true' && 'type=gha,mode=max' }}
|
cache-to: ${{ env.IS_CACHING == 'true' && 'type=gha,mode=max' }}
|
||||||
no-cache: ${{ ! env.IS_CACHING }}
|
no-cache: ${{ env.IS_CACHING != 'true' }}
|
||||||
sbom: true
|
sbom: true
|
||||||
provenance: mode=max
|
provenance: mode=max
|
||||||
annotations: ${{ steps.docker_meta.outputs.annotations }}
|
annotations: ${{ steps.docker_meta.outputs.annotations }}
|
||||||
|
|
Loading…
Reference in New Issue