.github/workflows/build_bundles.yml
changeset 122 ef1c44f741e3
parent 99 0623d6d4616b
equal deleted inserted replaced
121:9dd76a5bbc2a 122:ef1c44f741e3
    37       run: |
    37       run: |
    38         cd beremiz_public_dist
    38         cd beremiz_public_dist
    39         ./build_docker_image.sh
    39         ./build_docker_image.sh
    40         docker image save --output="/tmp/latest.tar" beremiz_public_builder
    40         docker image save --output="/tmp/latest.tar" beremiz_public_builder
    41 
    41 
       
    42 
       
    43     - if: ${{ steps.cache-docker.outputs.cache-hit == false }}
       
    44       name: Save docker image in cache
       
    45       id: cache-docker-save
       
    46       uses: actions/cache/save@v3
       
    47       with:
       
    48         path: /tmp/latest.tar
       
    49         key: ${{ steps.cache-docker.outputs.cache-primary-key }}
       
    50 
    42     - if: ${{ steps.cache-docker.outputs.cache-hit != false }}
    51     - if: ${{ steps.cache-docker.outputs.cache-hit != false }}
    43       name: Re-use docker image
    52       name: Re-use docker image
    44       run: |
    53       run: |
    45         docker image load --input="/tmp/latest.tar" 
    54         docker image load --input="/tmp/latest.tar" 
    46 
    55