Populate the cache with the latest image (#4988)

* Pull the latest image and print info

* Pull latest from registry to populate the cache

* Don't pull image
This commit is contained in:
Marco Ferrari 2023-12-15 09:22:13 +01:00 committed by GitHub
parent e6e6e1fa5f
commit e73e1bfdc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View file

@ -117,6 +117,7 @@ jobs:
BUILD_DATE=${{ env.BUILD_DATE }} BUILD_DATE=${{ env.BUILD_DATE }}
BUILD_REVISION=${{ env.BUILD_REVISION }} BUILD_REVISION=${{ env.BUILD_REVISION }}
BUILD_VERSION=${{ env.BUILD_VERSION }} BUILD_VERSION=${{ env.BUILD_VERSION }}
cache-from: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }}
load: false load: false
push: true push: true
secrets: | secrets: |

View file

@ -86,6 +86,7 @@ jobs:
BUILD_DATE=${{ env.BUILD_DATE }} BUILD_DATE=${{ env.BUILD_DATE }}
BUILD_REVISION=${{ env.BUILD_REVISION }} BUILD_REVISION=${{ env.BUILD_REVISION }}
BUILD_VERSION=${{ env.BUILD_VERSION }} BUILD_VERSION=${{ env.BUILD_VERSION }}
cache-from: type=registry,ref=${{ env.CONTAINER_IMAGE_ID }}
load: true load: true
push: false push: false
secrets: | secrets: |