Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pkg/platforms/platforms.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const (
Windows = "windows"
Darwin = "darwin"
FreeBSD = "freebsd"
Linux = "linux"
)

// Platform describes the platform which the image in the manifest runs on.
Expand Down Expand Up @@ -121,7 +122,7 @@ func getCPUVariant() (string, error) {
default:
variant = Unknown
}
case FreeBSD:
case Linux, FreeBSD:
// FreeBSD supports ARMv6 and ARMv7 as well as ARMv4 and ARMv5 (though deprecated)
// detecting those variants is currently unimplemented
switch runtime.GOARCH {
Expand Down
Loading