Skip to content

Allow digest pinning for Renovate image #1038

Description

@goosmurf

Currently we have renovate-image and renovate-version and they are combined with a : in https://github.com/renovatebot/github-action/blob/main/src/docker.ts

I think this makes it impossible to pin to an image digest.

My end-goal is to have Renovate manage the versioning and use pinDigests to ensure we are running a version of Renovate that:

  1. Meets minimumReleaseAge
  2. Is pinned to a digest to remove the risk that a version tag is re-published with a malicious image, after the minimumReleaseAge

One idea might be to make renovate-image accept a fully specified image+tag. The logic for this might simply look for the presence of a : which would cater for both image:tag and image@SHA256:digest.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Datasource

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions