diff options
author | Daniel <[email protected]> | 2024-07-09 00:27:39 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-07-08 23:27:39 +0200 |
commit | 0e8b410798e67378315ee0e07070235e71874f59 (patch) | |
tree | 2e10dd8e509177a804a06a021e1d945dba2cdefc | |
parent | fda77afc2a802f6e7607c19ad12b5f93520a688e (diff) | |
download | vaultwarden-0e8b410798e67378315ee0e07070235e71874f59.tar.gz vaultwarden-0e8b410798e67378315ee0e07070235e71874f59.zip |
Switch registry cache compression algorithm to zstd (#4704)
- faster builds than with gzip (the default)
-rw-r--r-- | .github/workflows/release.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f4b5e276..b1fb85d4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -151,7 +151,7 @@ jobs: # Check if there is a GitHub Container Registry Login and use it for caching if [[ -n "${HAVE_GHCR_LOGIN}" ]]; then echo "BAKE_CACHE_FROM=type=registry,ref=${{ vars.GHCR_REPO }}-buildcache:${{ matrix.base_image }}" | tee -a "${GITHUB_ENV}" - echo "BAKE_CACHE_TO=type=registry,ref=${{ vars.GHCR_REPO }}-buildcache:${{ matrix.base_image }},mode=max" | tee -a "${GITHUB_ENV}" + echo "BAKE_CACHE_TO=type=registry,ref=${{ vars.GHCR_REPO }}-buildcache:${{ matrix.base_image }},compression=zstd,mode=max" | tee -a "${GITHUB_ENV}" else echo "BAKE_CACHE_FROM=" echo "BAKE_CACHE_TO=" |