1
0
mirror of https://github.com/bitwarden/server.git synced 2025-04-25 23:02:17 -05:00

Add buildcache

This commit is contained in:
Vince Grassia 2023-11-16 12:11:43 -05:00
parent 0ecadedda9
commit 75b8294a5c
No known key found for this signature in database
GPG Key ID: 9AD7505E8448CC08

View File

@ -207,8 +207,8 @@ jobs:
- name: Build Docker image - name: Build Docker image
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0 uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09 # v5.0.0
with: with:
cache-from: type=registry,ref=${{ steps.image-name.outputs.name }} cache-from: type=registry,ref=${{ steps.image-name.outputs.name }}-buildcache
cache-to: type=inline cache-to: type=registry,ref=${{ steps.image-name.outputs.name }}-buildcache,mode=max
context: . context: .
file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile file: ${{ matrix.base_path }}/${{ matrix.project_name }}/Dockerfile
platforms: | platforms: |