Skip to content

Commit 8adb86f

Browse files
committed
Update action.yml
1 parent 31ca8b3 commit 8adb86f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ runs:
8686
echo "ddtv_deps_image_tag=$ddtv_deps_image_tag" >> $GITHUB_ENV
8787
docker pull $ddtv_deps_image_tag || true
8888
89-
ddtv_date="$(docker inspect $ddtv_deps_image_tag | jq '. + [{"Created":"1970-01-01T08:00:00"}]')"
90-
echo 1
89+
ddtv_date="$(docker inspect $ddtv_deps_image_tag | jq '. + [{"Created":"1970-01-01T08:00:00"}]' || true)"
90+
echo $ddtv_date
9191
ddtv_date="$(echo "$ddtv_date" | jq -r '.[0] | .Created')"
9292
echo 2
9393
ddtv_date=$(date -d "$ddtv_date" +%s)

0 commit comments

Comments
 (0)