Skip to content

Commit

Permalink
Remove reference to linux/amd64, as crane digest should be universal
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerschrock committed Jul 19, 2022
1 parent c4a2dd3 commit e56e743
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions remediation/remediations.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ var errInvalidArg = errors.New("invalid argument")
var (
workflowText = "update your workflow using https://app.stepsecurity.io/secureworkflow/%s/%s/%s?enable=%s"
//nolint
workflowMarkdown = "update your workflow using [https://app.stepsecurity.io](https://app.stepsecurity.io/secureworkflow/%s/%s/%s?enable=%s)"
dockerfileText = "pin your Docker image (%[1]s). For linux/amd64 update to %[1]s@%s"
workflowMarkdown = "update your workflow using [https://app.stepsecurity.io](https://app.stepsecurity.io/secureworkflow/%s/%s/%s?enable=%s)"
dockerfilePinText = "pin your Docker image by updating %[1]s to %[1]s@%s"
)

//nolint:gochecknoinits
Expand Down Expand Up @@ -108,7 +108,7 @@ func CreateDockerfilePinningRemediation(name *string) *checker.Remediation {
return nil
}

text := fmt.Sprintf(dockerfileText, *name, hash)
text := fmt.Sprintf(dockerfilePinText, *name, hash)
markdown := text

return &checker.Remediation{
Expand Down

0 comments on commit e56e743

Please sign in to comment.