ECR: fix image wrong type for pushed_at (#7122)
This commit is contained in:
parent
72273268f1
commit
43d3f14d08
@ -276,7 +276,7 @@ class Image(BaseObject):
|
||||
self.repository = repository
|
||||
self.registry_id = registry_id or account_id
|
||||
self.image_digest = digest
|
||||
self.image_pushed_at = str(datetime.now(timezone.utc).isoformat())
|
||||
self.image_pushed_at = int(datetime.now(timezone.utc).timestamp())
|
||||
self.last_scan: Optional[datetime] = None
|
||||
|
||||
def _create_digest(self) -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user