ops: Add --volumes-from option
This commit is contained in:
@@ -72,7 +72,7 @@ jobs:
|
|||||||
uses: https://github.com/addnab/docker-run-action@v3
|
uses: https://github.com/addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
image: cproject-builder:latest
|
image: cproject-builder:latest
|
||||||
options: -v ${{ github.workspace }}:/builder/mnt --workdir /builder/mnt
|
options: -v ${{ github.workspace }}:/builder/mnt --workdir /builder/mnt --volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
||||||
run: |
|
run: |
|
||||||
/bin/bash -c "rm -rf build; cmake -B build; cmake --build build"
|
/bin/bash -c "rm -rf build; cmake -B build; cmake --build build"
|
||||||
-
|
-
|
||||||
@@ -80,7 +80,7 @@ jobs:
|
|||||||
uses: https://github.com/addnab/docker-run-action@v3
|
uses: https://github.com/addnab/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
image: cproject-builder:latest
|
image: cproject-builder:latest
|
||||||
options: -v ${{ github.workspace }}:/builder/mnt --workdir /builder/mnt
|
options: -v ${{ github.workspace }}:/builder/mnt --workdir /builder/mnt --volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
||||||
run: |
|
run: |
|
||||||
/bin/bash -c "ceedling clobber; ceedling gcov:all; ceedling utils:gcov"
|
/bin/bash -c "ceedling clobber; ceedling gcov:all; ceedling utils:gcov"
|
||||||
-
|
-
|
||||||
|
|||||||
Reference in New Issue
Block a user