Skip to content

Commit

Permalink
ci: add cache management
Browse files Browse the repository at this point in the history
  • Loading branch information
antmelekhin committed Aug 24, 2024
1 parent 93a6460 commit 1447c8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-and-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ jobs:
- name: 'Build and push ${{ matrix.tag }}'
uses: 'docker/build-push-action@v6'
with:
cache-from: 'type=gha,scope=${{ matrix.tag }}'
cache-to: 'type=gha,scope=${{ matrix.tag }}'
context: .
file: '${{ matrix.dockerfile }}'
platforms: '${{ matrix.platforms }}'
Expand Down

0 comments on commit 1447c8d

Please sign in to comment.