diff --git a/action.yml b/action.yml index 11a6510..007e50d 100644 --- a/action.yml +++ b/action.yml @@ -84,8 +84,9 @@ runs: ddtv_deps_image_tag=ghcr.io/$owner_lower/ddtv/deps:${{ inputs.os_id }}$suffix echo "ddtv_deps_image=ghcr.io/$owner_lower/ddtv/deps" >> $GITHUB_ENV echo "ddtv_deps_image_tag=$ddtv_deps_image_tag" >> $GITHUB_ENV + docker pull $ddtv_deps_image_tag - ddtv_date="$(docker pull $ddtv_deps_image_tag && docker inspect $ddtv_deps_image_tag || echo '[{"Created":"1970-01-01T08:00:00"}]')" + ddtv_date="$(docker inspect $ddtv_deps_image_tag || echo '[{"Created":"1970-01-01T08:00:00"}]')" ddtv_date="$(echo "$ddtv_date" | jq -r '.[0] | .Created')" ddtv_date=$(date -d $ddtv_date +%s) mcr__date="$(curl https://mcr.microsoft.com/api/v1/catalog/dotnet/runtime-deps/tags | jq -r '.[] | select(.name == "8.0" ) | .lastModifiedDate')"