Skip to content

Commit 14aefe1

Browse files
fix bug
Signed-off-by: stoneshi-yunify <[email protected]>
1 parent ea384e6 commit 14aefe1

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
@@ -189,6 +189,7 @@ func New(client dockerpkg.Client, config *api.Config, fs fs.FileSystem, override
189189
// to determine whether a build succeeded or not.
190190
func (builder *STI) Build(config *api.Config) (*api.Result, error) {
191191
delete(config.Labels, constants.BuildSourceLocationLabel)
192+
delete(builder.config.Labels, constants.BuildSourceLocationLabel)
192193
builder.result = &api.Result{}
193194

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

0 commit comments

Comments
 (0)