diff --git a/.github/actions/docker-cache-save/action.yml b/.github/actions/docker-cache-save/action.yml index 82c6acb..a4098c8 100644 --- a/.github/actions/docker-cache-save/action.yml +++ b/.github/actions/docker-cache-save/action.yml @@ -54,7 +54,7 @@ runs: echo "key=$(docker image ls --format '{{.ID}} {{.Repository}}:{{.Tag}}' | grep -v '' | cut -d' ' -f 1 | sort | sha1sum | cut -d' ' -f1)" >> $GITHUB_OUTPUT echo "have=$(docker image ls --format '{{.Repository}}:{{.Tag}}' | grep -v '' >/dev/null 2>&1 && echo 1 || echo 0)" >> $GITHUB_OUTPUT - name: Save Docker Cache - uses: actions/cache/save@v5 + uses: actions/cache/save@v6 if: format('{0}-{1}', inputs.cache-key, steps.docker_cache_key.outputs.key) != inputs.matched-key && steps.docker_cache_key.outputs.have == '1' with: key: ${{ inputs.cache-key }}-${{ steps.docker_cache_key.outputs.key }}