You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-07-15 01:04:37 +02:00
Fix architecture labeling for multi-architecture container builds.
When the architecture was not specified it was being set to x86_64 rather than the host architecture.
This commit is contained in:
@ -386,7 +386,7 @@ sub containerBuild
|
||||
my $strImageParent =
|
||||
(defined($strArch) ? "${strArch}/" : (vmArch($strOS) eq VM_ARCH_X86_64 ? '' : vmArch($strOS) . '/')) .
|
||||
"$$oVm{$strOS}{&VM_IMAGE}";
|
||||
$strArch = defined($strArch) ? $strArch : VM_ARCH_X86_64;
|
||||
$strArch = defined($strArch) ? $strArch : hostArch();
|
||||
my $strImage = "${strOS}-base" . (defined($strArch) ? "-${strArch}" : '-' . hostArch());
|
||||
my $strCopy = undef;
|
||||
|
||||
|
Reference in New Issue
Block a user