Skip to content

explicitly delete temporary build images #291

@mhofman

Description

@mhofman

#283 leveraged the docker registry to store the single build images, pull them for testing, and push them for publishing.

After these steps of the workflow have completed we no longer need these images, and they can be deleted. We currently configured the retention to 1d, but we still risk blowing up our storage usage if we have a lot of builds with changes within that period of time.

The depot CLI does not (yet?) support deletion of build images, but we were told we can use the DeleteImage API to do this. The image name has the shape of registry.depot.dev/${PROJECT_ID}:${BUILD_ID}-${TARGET}.

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