Skip to content

Commit 8c8a5a6

Browse files
authored
Merge pull request #1421 from biigle/patch-2
Improve build caching
2 parents e9fca95 + c3a1c0b commit 8c8a5a6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ jobs:
4848
push: true
4949
tags: ${{ steps.meta.outputs.tags }}
5050
labels: ${{ steps.meta.outputs.labels }}
51-
cache-from: type=gha,scope=biigle-docker
52-
cache-to: type=gha,mode=max,scope=biigle-docker
51+
cache-from: type=gha,scope=biigle-app
52+
cache-to: type=gha,mode=max,scope=biigle-app
5353

5454
build-and-push-worker:
5555
runs-on: ubuntu-latest
@@ -86,8 +86,8 @@ jobs:
8686
push: true
8787
tags: ${{ steps.meta.outputs.tags }}
8888
labels: ${{ steps.meta.outputs.labels }}
89-
cache-from: type=gha,scope=biigle-docker
90-
cache-to: type=gha,mode=max,scope=biigle-docker
89+
cache-from: type=gha,scope=biigle-worker
90+
cache-to: type=gha,mode=max,scope=biigle-worker
9191

9292
build-and-push-pyworker:
9393
runs-on: ubuntu-latest
@@ -124,8 +124,8 @@ jobs:
124124
push: true
125125
tags: ${{ steps.meta.outputs.tags }}
126126
labels: ${{ steps.meta.outputs.labels }}
127-
cache-from: type=gha,scope=biigle-docker
128-
cache-to: type=gha,mode=max,scope=biigle-docker
127+
cache-from: type=gha,scope=biigle-pyworker
128+
cache-to: type=gha,mode=max,scope=biigle-pyworker
129129

130130
build-and-push-web:
131131
runs-on: ubuntu-latest
@@ -162,5 +162,5 @@ jobs:
162162
push: true
163163
tags: ${{ steps.meta.outputs.tags }}
164164
labels: ${{ steps.meta.outputs.labels }}
165-
cache-from: type=gha,scope=biigle-docker
166-
cache-to: type=gha,mode=max,scope=biigle-docker
165+
cache-from: type=gha,scope=biigle-web
166+
cache-to: type=gha,mode=max,scope=biigle-web

0 commit comments

Comments
 (0)