mirror of
https://github.com/super-linter/super-linter.git
synced 2024-11-25 02:01:02 -05:00
ci: fix build cache in the cd workflow (#5032)
This commit is contained in:
parent
238caec66e
commit
43dc36860c
1 changed files with 2 additions and 2 deletions
4
.github/workflows/cd.yml
vendored
4
.github/workflows/cd.yml
vendored
|
@ -82,7 +82,7 @@ jobs:
|
|||
BUILD_DATE=${{ env.BUILD_DATE }}
|
||||
BUILD_REVISION=${{ env.BUILD_REVISION }}
|
||||
BUILD_VERSION=${{ env.BUILD_VERSION }}
|
||||
cache-from: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }}
|
||||
cache-from: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }}-buildcache
|
||||
load: true
|
||||
push: false
|
||||
secrets: |
|
||||
|
@ -118,7 +118,7 @@ jobs:
|
|||
BUILD_DATE=${{ env.BUILD_DATE }}
|
||||
BUILD_REVISION=${{ env.BUILD_REVISION }}
|
||||
BUILD_VERSION=${{ env.BUILD_VERSION }}
|
||||
cache-from: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }}
|
||||
cache-from: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }}-buildcache
|
||||
cache-to: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }}-buildcache,mode=max
|
||||
load: false
|
||||
push: true
|
||||
|
|
Loading…
Reference in a new issue