Spaces:
Running
Running
fix(ci): add caching to docker image build steps
Browse files
.github/workflows/build-image.yml
CHANGED
@@ -70,6 +70,8 @@ jobs:
|
|
70 |
tags: ${{ steps.meta.outputs.tags }}
|
71 |
labels: ${{ steps.meta.outputs.labels }}
|
72 |
platforms: linux/amd64,linux/arm64
|
|
|
|
|
73 |
build-args: |
|
74 |
INCLUDE_DB=true
|
75 |
build-and-publish-image-nodb:
|
@@ -124,5 +126,7 @@ jobs:
|
|
124 |
tags: ${{ steps.meta.outputs.tags }}
|
125 |
labels: ${{ steps.meta.outputs.labels }}
|
126 |
platforms: linux/amd64,linux/arm64
|
|
|
|
|
127 |
build-args: |
|
128 |
INCLUDE_DB=false
|
|
|
70 |
tags: ${{ steps.meta.outputs.tags }}
|
71 |
labels: ${{ steps.meta.outputs.labels }}
|
72 |
platforms: linux/amd64,linux/arm64
|
73 |
+
cache-from: type=gha
|
74 |
+
cache-to: type=gha,mode=max
|
75 |
build-args: |
|
76 |
INCLUDE_DB=true
|
77 |
build-and-publish-image-nodb:
|
|
|
126 |
tags: ${{ steps.meta.outputs.tags }}
|
127 |
labels: ${{ steps.meta.outputs.labels }}
|
128 |
platforms: linux/amd64,linux/arm64
|
129 |
+
cache-from: type=gha
|
130 |
+
cache-to: type=gha,mode=max
|
131 |
build-args: |
|
132 |
INCLUDE_DB=false
|