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 9c6c97a commit d52df83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ runs:
echo "REGISTRY_IMAGE=ghcr.io/$owner_lower/${{ inputs.repo }}" >> $GITHUB_ENV
echo "IMAGE_TAG=${BASH_REMATCH[2]}${{ inputs.os_id == 'debian' && '' || format('-{0}', inputs.os_id) }}" >> $GITHUB_ENV
ddtv-deps-image-tag="ghcr.io/$owner_lower/ddtv/deps:${{ inputs.os_id }}$suffix"
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
echo "ddtv-deps-image-tag=$ddtv_deps_image_tag" >> $GITHUB_ENV
ddtv_date="$(docker pull $ddtv-deps-image-tag && docker inspect $ddtv-deps-image-tag || echo '[{"Created":"1970-01-01T08:00:00"}]')"
ddtv_date="$(docker pull $ddtv_deps_image_tag && 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 d52df83

Please sign in to comment.