Skip to content

Commit

Permalink
ci: 添加 docker build cache (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
he0119 authored Dec 20, 2024
1 parent e772c3a commit 009d579
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

nonetest-docker:
name: NoneTest Docker
Expand Down Expand Up @@ -107,3 +109,5 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.metadata.outputs.tags }}
labels: ${{ steps.metadata.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max

0 comments on commit 009d579

Please sign in to comment.