mirror of
https://github.com/rehlds/testdemos.git
synced 2025-04-24 07:13:38 +03:00
fix
This commit is contained in:
parent
d0bd062a4e
commit
30a0def2e0
12
.github/workflows/Build.yml
vendored
12
.github/workflows/Build.yml
vendored
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user