Skip to content

Commit

Permalink
More debug logs
Browse files Browse the repository at this point in the history
  • Loading branch information
dekiel committed Oct 6, 2024
1 parent a4a960f commit 1428f04
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/image-builder/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -656,11 +656,11 @@ func getTags(logger Logger, pr, sha string, templates []tags.Tag) ([]tags.Tag, e
var taggerOptions []tags.TagOption
if len(pr) > 0 {
taggerOptions = append(taggerOptions, tags.PRNumber(pr))
logger.Debugw()
logger.Debugw("PR number is set, adding tagger option", "pr_number", pr)
}
if len(sha) > 0 {
taggerOptions = append(taggerOptions, tags.CommitSHA(sha))
logger.Debugw()
logger.Debugw("Commit SHA is set, adding tagger option", "commit_sha", sha)
}

logger.Debugw("building tags", "pr_number", pr, "commit_sha", sha, "templates", templates)
Expand Down Expand Up @@ -1119,4 +1119,4 @@ func extractImagesFromADOLogs(logs string) []string {
images = extractimageurls.UniqueImages(images)

return images
}
}

0 comments on commit 1428f04

Please sign in to comment.