Skip to content

Commit

Permalink
Add caching mechanism
Browse files Browse the repository at this point in the history
  • Loading branch information
kabilar committed Dec 12, 2024
1 parent 98d7bb1 commit 2ee929a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/docker-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,6 @@ jobs:
file: ${{ matrix.dockerfile }}
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/dandihub:latest-${{ matrix.image.name }}
${{ secrets.DOCKERHUB_USERNAME }}/dandihub:latest-${{ matrix.image.name }}
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/dandihub:latest-${{ matrix.image.name }}
cache-to: type=inline
4 changes: 3 additions & 1 deletion .github/workflows/docker-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ jobs:
with:
context: images
file: ${{ matrix.dockerfile }}
push: false
push: false
cache-from: type=registry,ref=${{ secrets.DOCKERHUB_USERNAME }}/dandihub:latest-${{ matrix.image.name }}
cache-to: type=inline

0 comments on commit 2ee929a

Please sign in to comment.