Skip to content


Browse files Browse the repository at this point in the history
fix(buildah): usage of docker.exactValues affects digest the same way…
… for buildah and docker-server backends

Make dockerInstructions stapel stage digest fully compatible between different container-backends (buildah or docker-server).

Signed-off-by: Timofey Kirillov <>
  • Loading branch information
distorhead committed Mar 23, 2023
1 parent 81ba9ba commit 726ef94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/build/stage/stapel_docker_instructions.go
Expand Up @@ -35,7 +35,7 @@ type StapelDockerInstructionsStage struct {
func (s *StapelDockerInstructionsStage) GetDependencies(ctx context.Context, c Conveyor, cb container_backend.ContainerBackend, prevImage, prevBuiltImage *StageImage, buildContextArchive container_backend.BuildContextArchiver) (string, error) {
var args []string

if c.UseLegacyStapelBuilder(cb) && s.instructions.ExactValues {
if s.instructions.ExactValues {
args = append(args, "exact-values:::")

Expand Down

0 comments on commit 726ef94

Please sign in to comment.