Skip to content

Commit

Permalink
perf: Use build cache from Azure Blob Storage
Browse files Browse the repository at this point in the history
  • Loading branch information
clemlesne committed Nov 19, 2024
1 parent 8b52e97 commit bdf0e85
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,10 @@ jobs:
ROOTLESSKIT_VERSION=${{ env.ROOTLESSKIT_VERSION }}
TINI_VERSION=${{ env.TINI_VERSION }}
YQ_VERSION=${{ env.YQ_VERSION }}
cache-from: ${{ steps.tag.outputs.tag }}-cache
cache-to: ${{ steps.tag.outputs.tag }}-cache
cache-from: |
type=azblob,account_url=${{ secrets.BUILDKIT_AZURE_STORAGE_ACCOUNT_URL }},secret_access_key=${{ secrets.BUILDKIT_AZURE_STORAGE_SECRET_ACCESS_KEY }},name=${{ matrix.os }}-${{ github.ref_name }}
type=azblob,account_url=${{ secrets.BUILDKIT_AZURE_STORAGE_ACCOUNT_URL }},secret_access_key=${{ secrets.BUILDKIT_AZURE_STORAGE_SECRET_ACCESS_KEY }},name=${{ matrix.os }}-${{ github.sha }}
cache-to: type=azblob,account_url=${{ secrets.BUILDKIT_AZURE_STORAGE_ACCOUNT_URL }},secret_access_key=${{ secrets.BUILDKIT_AZURE_STORAGE_SECRET_ACCESS_KEY }},mode=max,name=${{ matrix.os }}-${{ github.ref_name }};${{ matrix.os }}-${{ github.sha }}
context: src/docker
file: src/docker/Dockerfile-${{ matrix.os }}
labels: ${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit bdf0e85

Please sign in to comment.