This commit is contained in:
Sergey Shorokhov 2024-10-17 16:54:21 +03:00
parent d0bd062a4e
commit 30a0def2e0

View File

@ -41,15 +41,21 @@ jobs:
- uses: actions/cache@v4 - uses: actions/cache@v4
with: with:
path: /var/lib/docker/ path: /tmp/.buildx-cache
key: ${{ matrix.test.type }} key: ${{ runner.os }}-docker-${{ matrix.test.type }}
restore-keys: |
${{ runner.os }}-docker-
- name: Prepare - name: Prepare
working-directory: ./testdemos_files working-directory: ./testdemos_files
run: rsync -a deps/${{ matrix.test.type }}/* . run: rsync -a deps/${{ matrix.test.type }}/* .
- name: Build container - name: Build container
run: docker build -t $imageName . run: |
docker build \
--cache-from=type=local,src=/tmp/.buildx-cache \
--cache-to=type=local,dest=/tmp/.buildx-cache-new,mode=max \
-t $imageName .
- name: Run test - name: Run test
env: env: