Skip to content

[Task] Fix the docker image build flow #5403

Closed
@Skarlso

Description

@Skarlso

Right now, the build flow creates a new image by tagging the Dockerbuild file with a new sha. This has the problem that if there is a change that needs to be rebuilt or there was a change that failed and we need to redo it, it will create the same layers and same image. There is no way to force a complete rebuild or at least part of the layers.

A simple solution is to introduce a version file into the top build process and increase the version when you want to nuke the layer.

Another option is to use --no-cache during the build process. But that still will create the same image id and upstream (github) might aggressively cache that. The point is the generate a new ID.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions