Skip to content

Commit

Permalink
Populate the cache with the latest image (#4988)
Browse files Browse the repository at this point in the history
* Pull the latest image and print info

* Pull latest from registry to populate the cache

* Don't pull image
  • Loading branch information
ferrarimarco committed Dec 15, 2023
1 parent e6e6e1f commit e73e1bf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,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 }}
load: false
push: true
secrets: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,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 }}
load: true
push: false
secrets: |
Expand Down

0 comments on commit e73e1bf

Please sign in to comment.