upload/aws: fix architecture for aarch64 images
Previously, composer wrongly set x86_64 architecture even for aarch64 images. This commit fixes it. Signed-off-by: Ondřej Budai <ondrej@budai.cz>
This commit is contained in:
parent
9b2d565545
commit
4548923a09
4 changed files with 18 additions and 5 deletions
|
|
@ -160,7 +160,7 @@ func (impl *OSBuildJobImpl) Run(job worker.Job) error {
|
|||
}
|
||||
|
||||
/* TODO: communicate back the AMI */
|
||||
_, err = a.Register(t.ImageName, options.Bucket, key, options.ShareWithAccounts)
|
||||
_, err = a.Register(t.ImageName, options.Bucket, key, options.ShareWithAccounts, common.CurrentArch())
|
||||
if err != nil {
|
||||
r = append(r, err)
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue