Skip to content

Cannot read properties of null (reading 'message') #13

@jcf

Description

@jcf

I have a Render service that pulls a Docker image from ghcr.io after a set of tests pass.

Run johnbeynon/render-deploy-action@747373cdb7b9b3f561438e063ee0815b71584f1b
  with:
    service-id: ***
    api-key: ***
    wait-for-success: true
Error: Cannot read properties of null (reading 'message')

I appreciate this isn't an official Render project, so I am reporting without any expectation of support. If I track down the issue, I'll report back here.


Update: it looks like commit is null when Render pulls an image rather than building from source, I guess because Render doesn't know anything about the source repository.

{
  "id": "dep-ct0t51l6l47c73b9casg",
  "commit": null,
  "image": {
    "ref": "ghcr.io/redacted/redacted:latest",
    "sha": "sha256:2ec40c30865b1bfbdc91e0d0025b3fd41a5075f702fab2a00c94b5bc94143911",
    "registryCredential": "GitHub"
  },
  "status": "update_in_progress",
  "trigger": "api",
  "createdAt": "2024-11-23T13:03:02.604524Z",
  "updatedAt": "2024-11-23T13:03:05.465993Z",
  "finishedAt": null
}

It's be great if image-based projects worked, too. Maybe Render could produce an official action that supports this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions