But it looks like it ignored the provided variable PUBLISH_AMI_NAME and instead registered the AMI with name bottlerocket-aws-k8s-1.24-aarch64-v1.21.0-REDACTED-dirty. It should not ignore this variable and it should register the AMI with the provided variable name.
Platform I'm building on:
AWS aarch64
What I expected to happen:
While creating and registering an AMI, I ran the make AMI command.
I expected it to register the AMI, with the name:
testing_k8s
. This is also specified here: https://github.com/bottlerocket-os/bottlerocket/blob/develop/PUBLISHING-AWS.md?plain=1#L28What actually happened:
But it looks like it ignored the provided variable
PUBLISH_AMI_NAME
and instead registered the AMI with namebottlerocket-aws-k8s-1.24-aarch64-v1.21.0-REDACTED-dirty
. It should not ignore this variable and it should register the AMI with the provided variable name.How to reproduce the problem:
Run the default build of bottlerocket
and then create/register an AMI.