mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2025-01-09 04:18:46 +08:00
set scope for caches
This commit is contained in:
parent
42da4f57c2
commit
7f41893da4
6
.github/workflows/build-container.yml
vendored
6
.github/workflows/build-container.yml
vendored
@ -88,10 +88,8 @@ jobs:
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
build-args: PIP_EXTRA_INDEX_URL=${{ matrix.pip-extra-index-url }}
|
||||
cache-from: |
|
||||
type=gha
|
||||
ghcr.io/${{ github.repository }}:main-${{ matrix.flavor }}
|
||||
cache-to: type=gha,mode=max
|
||||
cache-from: type=gha,scope=$GITHUB_REF_NAME-${{ matrix.flavor }}
|
||||
cache-to: type=gha,mode=max,scope=$GITHUB_REF_NAME-${{ matrix.flavor }}
|
||||
|
||||
- name: Docker Hub Description
|
||||
if: github.event_name != 'pull_request' && vars.DOCKERHUB_REPOSITORY != ''
|
||||
|
Loading…
Reference in New Issue
Block a user