Skip to content

Commit

Permalink
config: ignore image for config hash generation (#9350)
Browse files Browse the repository at this point in the history
Do not set Image so it does not impact the config-hash

Signed-off-by: Kenny Millington <[email protected]>
  • Loading branch information
kmdm authored Jul 29, 2022
1 parent 2e7b407 commit 1d678b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkg/compose/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ func (s *composeService) ensureImagesExists(ctx context.Context, project *types.
project.Services[i].Labels = types.Labels{}
}
project.Services[i].CustomLabels[api.ImageDigestLabel] = digest
project.Services[i].Image = image
}
}
return nil
Expand Down

0 comments on commit 1d678b7

Please sign in to comment.