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 822da77 commit 9223aaf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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')"
Expand Down

0 comments on commit 9223aaf

Please sign in to comment.