ops: Fix CICD docker usage #4
@@ -71,7 +71,8 @@ jobs:
|
|||||||
name: Build library
|
name: Build library
|
||||||
uses: https://git.brocklobsta.net/brock/docker-run-action@v3
|
uses: https://git.brocklobsta.net/brock/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
image: /tmp/docker/${{ runner.os }}-builder-image.tar
|
tarball: /tmp/docker/${{ runner.os }}-builder-image.tar
|
||||||
|
image: cproject-builder:latest
|
||||||
options: --volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
options: --volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
||||||
run: |
|
run: |
|
||||||
/bin/bash -c "cd ${{ github.workspace }}; rm -rf build; cmake -B build; cmake --build build"
|
/bin/bash -c "cd ${{ github.workspace }}; rm -rf build; cmake -B build; cmake --build build"
|
||||||
@@ -79,6 +80,7 @@ jobs:
|
|||||||
name: Test library
|
name: Test library
|
||||||
uses: https://git.brocklobsta.net/brock/docker-run-action@v3
|
uses: https://git.brocklobsta.net/brock/docker-run-action@v3
|
||||||
with:
|
with:
|
||||||
|
tarball: /tmp/docker/${{ runner.os }}-builder-image.tar
|
||||||
image: cproject-builder:latest
|
image: cproject-builder:latest
|
||||||
options: --volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
options: --volumes-from ${{ env.JOB_CONTAINER_NAME }}
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user