Skip to content

Commit

Permalink
Add caching to docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
MilesCranmer committed Nov 15, 2022
1 parent c44cb5d commit 5fb5267
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/docker_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=registry,ref=mcranmer/pysr:buildcache
cache-to: type=registry,ref=mcranmer/pysr:buildcache,mode=max
build-args: |
PYVERSION=${{ matrix.python-version }}
JLVERSION=${{ matrix.julia-version }}

0 comments on commit 5fb5267

Please sign in to comment.