mirror of
https://github.com/polhenarejos/pico-hsm.git
synced 2026-01-17 01:18:06 +00:00
When build, it copies generated binaries to image, which will be used later by other jobs.
Signed-off-by: Pol Henarejos <pol.henarejos@cttc.es>
This commit is contained in:
parent
a7770a7e57
commit
b74c4070d1
1 changed files with 6 additions and 0 deletions
|
|
@ -6,3 +6,9 @@ build_image
|
|||
run_in_docker mkdir -p build_in_docker
|
||||
run_in_docker -w "$PWD/build_in_docker" cmake -DENABLE_EMULATION=1 ..
|
||||
run_in_docker -w "$PWD/build_in_docker" make -j ${NUM_PROC}
|
||||
docker create --name temp_container pico-hsm-test:bullseye
|
||||
docker cp $PWD/build_in_docker/pico_hsm temp_container:/pico_hsm
|
||||
docker commit temp_container pico-hsm-test:bullseye
|
||||
docker stop temp_container
|
||||
docker rm temp_container
|
||||
docker rmi $(docker images -f "dangling=true" -q)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue