build: docker cache for test workflow (#108)

This commit is contained in:
Adrian Shum 2025-09-18 13:42:36 +08:00 committed by GitHub
parent 45f9255112
commit 6b489c2a54
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: |