Skip to content

Commit

Permalink
Update action.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
moomiji committed Jun 21, 2024
1 parent 11e05ce commit 0ed5f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ runs:
echo "ddtv_deps_image_tag=$ddtv_deps_image_tag" >> $GITHUB_ENV
docker pull $ddtv_deps_image_tag || true
ddtv_date="$(docker inspect $ddtv_deps_image_tag || echo '[{"Created":"1970-01-01T08:00:00"}]')"
ddtv_date="$(docker inspect $ddtv_deps_image_tag | jq '. + [{"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')"
Expand Down

0 comments on commit 0ed5f9c

Please sign in to comment.