Spaces:
Sleeping
Sleeping
MilesCranmer
commited on
Commit
•
5fb5267
1
Parent(s):
c44cb5d
Add caching to docker build
Browse files
.github/workflows/docker_deploy.yml
CHANGED
@@ -61,6 +61,8 @@ jobs:
|
|
61 |
push: ${{ github.event_name != 'pull_request' }}
|
62 |
tags: ${{ steps.meta.outputs.tags }}
|
63 |
labels: ${{ steps.meta.outputs.labels }}
|
|
|
|
|
64 |
build-args: |
|
65 |
PYVERSION=${{ matrix.python-version }}
|
66 |
JLVERSION=${{ matrix.julia-version }}
|
|
|
61 |
push: ${{ github.event_name != 'pull_request' }}
|
62 |
tags: ${{ steps.meta.outputs.tags }}
|
63 |
labels: ${{ steps.meta.outputs.labels }}
|
64 |
+
cache-from: type=registry,ref=mcranmer/pysr:buildcache
|
65 |
+
cache-to: type=registry,ref=mcranmer/pysr:buildcache,mode=max
|
66 |
build-args: |
|
67 |
PYVERSION=${{ matrix.python-version }}
|
68 |
JLVERSION=${{ matrix.julia-version }}
|