Tests: fix docker image export for GitHub Action caching.
--- a/.github/workflows/run_tests_in_docker.yml Mon May 16 21:40:44 2022 +0200
+++ b/.github/workflows/run_tests_in_docker.yml Tue May 17 07:27:24 2022 +0200
@@ -37,12 +37,12 @@
run: |
cd beremiz/tests/tools/Docker/beremiz-sikuli
./build_docker_image.sh
- docker export --output="/tmp/latest.tar" beremiz_sikuli
+ docker image save --output="/tmp/latest.tar" beremiz_sikuli
- if: ${{ steps.cache-docker.outputs.cache-hit == true }}
name: Re-use docker image
run: |
- docker load --input="/tmp/latest.tar"
+ docker image load --input="/tmp/latest.tar"
- name: Create docker container
run: |