Skip to content

Label image during build #681

@cirocosta

Description

@cirocosta

Hey,

just noticed that there's no way of adding labels to images that are build built with buildImageCmd (or am i missing something?) .

From https://docs.docker.com/engine/reference/api/docker_remote_api_v1.24/#/build-image-from-a-dockerfile we can pass labels so that at the end the labels are added to it.

Maybe that could be a .withLabels or something like that. Wdyt?

Thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions