.github/workflows/build_bundles.yml
changeset 122 ef1c44f741e3
parent 99 0623d6d4616b
--- a/.github/workflows/build_bundles.yml	Thu Oct 05 11:32:53 2023 +0200
+++ b/.github/workflows/build_bundles.yml	Thu Oct 05 13:16:35 2023 +0200
@@ -39,6 +39,15 @@
         ./build_docker_image.sh
         docker image save --output="/tmp/latest.tar" beremiz_public_builder
 
+
+    - if: ${{ steps.cache-docker.outputs.cache-hit == false }}
+      name: Save docker image in cache
+      id: cache-docker-save
+      uses: actions/cache/save@v3
+      with:
+        path: /tmp/latest.tar
+        key: ${{ steps.cache-docker.outputs.cache-primary-key }}
+
     - if: ${{ steps.cache-docker.outputs.cache-hit != false }}
       name: Re-use docker image
       run: |