Skip to content

Feature: Don't prefix images with registry #362

@reneleonhardt

Description

@reneleonhardt

Would it be possible to prevent prefixing Docker images with the found registry?

FROM rust:1.93-slim-trixie

became

FROM index.docker.io/library/rust:1.93-slim-trixie@sha256:7e6fa79cf81be23fd45d857f75f583d80cfdbb11c91fa06180fd747fda37a61d

when I would have hoped for just appending the suffix

FROM rust:1.93-slim-trixie@sha256:7e6fa79cf81be23fd45d857f75f583d80cfdbb11c91fa06180fd747fda37a61d

P.S. Would it be possible to extract the build date (i.e. if org.opencontainers.image.created has been labeled, or an equivalent of docker inspect --format='{{.Created}}' alpine)?
Then it could be shown in an inline comment like # v1.2.3 for GitHub Actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions