Skip to content

Commit 7e33253

Browse files
delete source-location label
Signed-off-by: stoneshi-yunify <[email protected]>
1 parent 67902fd commit 7e33253

File tree

1 file changed

+1
-0
lines changed
  • pkg/build/strategies/sti

1 file changed

+1
-0
lines changed

pkg/build/strategies/sti/sti.go

+1
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ func New(client dockerpkg.Client, config *api.Config, fs fs.FileSystem, override
188188
// of the build itself. Callers should check the Success field of the result
189189
// to determine whether a build succeeded or not.
190190
func (builder *STI) Build(config *api.Config) (*api.Result, error) {
191+
delete config.Labels[constants.BuildSourceLocationLabel]
191192
builder.result = &api.Result{}
192193

193194
if len(builder.config.CallbackURL) > 0 {

0 commit comments

Comments
 (0)