mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
revert caching to main; cache to ref_name
This commit is contained in:
parent
a2b992dfd1
commit
b04f199035
2
.github/workflows/build-container.yml
vendored
2
.github/workflows/build-container.yml
vendored
@ -90,7 +90,7 @@ jobs:
|
|||||||
cache-from: |
|
cache-from: |
|
||||||
type=gha,scope=${{ github.ref_name }}-${{ matrix.flavor }}
|
type=gha,scope=${{ github.ref_name }}-${{ matrix.flavor }}
|
||||||
type=gha,scope=main-${{ matrix.flavor }}
|
type=gha,scope=main-${{ matrix.flavor }}
|
||||||
cache-to: type=gha,mode=max,scope=main-${{ matrix.flavor }}
|
cache-to: type=gha,mode=max,scope=${{ github.ref_name }}-${{ matrix.flavor }}
|
||||||
|
|
||||||
- name: Docker Hub Description
|
- name: Docker Hub Description
|
||||||
if: github.ref == 'refs/heads/main' || github.ref == 'refs/tags/*' && vars.DOCKERHUB_REPOSITORY != ''
|
if: github.ref == 'refs/heads/main' || github.ref == 'refs/tags/*' && vars.DOCKERHUB_REPOSITORY != ''
|
||||||
|
Loading…
Reference in New Issue
Block a user