Skip to content

Commit

Permalink
Use GHA cache for Docker
Browse files Browse the repository at this point in the history
  • Loading branch information
audy committed Sep 12, 2023
1 parent 52f57be commit 180e98a
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,13 @@ jobs:
pip install --progress-bar=off -r requirements.txt
- name: Docker build
run: |
docker build -t covid19 .
uses: docker/build-push-action@v5
with:
context: .
push: false
tags: covid19
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Run lint checks & tests
run: |
Expand Down

0 comments on commit 180e98a

Please sign in to comment.