getbinariesfromquay: Remove - separating arch from variant (#38)

## Description

Renames binaries to be more consistent in and of itself and also compared to other Go projects that provide multi-arch binaries.

## Why is this needed

@gianarb asked me to rename the binaries in https://github.com/tinkerbell/boots/pull/122 to match this scheme, but I think that this PR is the better directon.
This commit is contained in:
mergify[bot] 2021-01-20 15:02:16 +00:00 committed by GitHub
commit ce7a79b75d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ func main() {
} }
if arch.Platform.Variant != "" { if arch.Platform.Variant != "" {
syss.VariantChoice = arch.Platform.Variant syss.VariantChoice = arch.Platform.Variant
imgDir = imgDir + "-" + arch.Platform.Variant imgDir = imgDir + arch.Platform.Variant
} }
archImg, err := docker.ImageFromName(ctx, syss, imageR) archImg, err := docker.ImageFromName(ctx, syss, imageR)
if err != nil { if err != nil {