Skip to content

Commit

Permalink
fix(sgtrivy): go arch for arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
Andreas Bäckevik committed Jul 28, 2023
1 parent b034810 commit dacfceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sgtrivy/tools.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func PrepareCommand(ctx context.Context) error {
switch runtime.GOARCH {
case sgtool.AMD64:
goarch = "64bit"
case sgtool.Darwin:
case sgtool.ARM64:
goarch = "ARM64"
default:
return fmt.Errorf("unsupported ARCH in sgtrivy package %s", runtime.GOARCH)
Expand Down

0 comments on commit dacfceb

Please sign in to comment.