Change deploy-virtual-ap-instance Github action to use updated AP firmware image pattern

Signed-off-by: Johann Hoffmann <johann.hoffmann@mailbox.org>
This commit is contained in:
Johann Hoffmann
2022-07-07 19:11:12 +02:00
parent 6cc5d321ab
commit 1e32eb9d28

View File

@@ -36,7 +36,7 @@ runs:
shell: bash
id: set_outputs
run: |
echo ::set-output name=ami::"$(aws ec2 describe-images --owners self --filters 'Name=name,Values=*-x64_vmware-*' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text)"
echo ::set-output name=ami::"$(aws ec2 describe-images --owners self --filters 'Name=name,Values=*-x64_vm-*' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text)"
echo ::set-output name=instance_name::openwifi-virtual-ap-${{ github.run_id }}
- name: Create openwifi-virtual-ap EC2 instance