build: docker cache for test workflow (#108)
This commit is contained in:
parent
45f9255112
commit
6b489c2a54
1 changed files with 8 additions and 2 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
|
@ -20,8 +20,14 @@ jobs:
|
|||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build test image
|
||||
run: |
|
||||
docker build --target builder -t imagorvideo-test .
|
||||
uses: docker/build-push-action@v5
|
||||
with:
|
||||
context: .
|
||||
target: builder
|
||||
tags: imagorvideo-test
|
||||
load: true
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
- name: Run tests in Docker
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue