From 1543893973e23f4f1147fdd2a83388448c10a838 Mon Sep 17 00:00:00 2001 From: Johann Hoffmann Date: Fri, 9 Dec 2022 16:52:47 +0100 Subject: [PATCH] Use Ubuntu 22.04 for SDK AMI Signed-off-by: Johann Hoffmann --- .github/actions/deploy-sdk-docker-compose/action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/deploy-sdk-docker-compose/action.yml b/.github/actions/deploy-sdk-docker-compose/action.yml index b9aa7977c..a7292c4aa 100644 --- a/.github/actions/deploy-sdk-docker-compose/action.yml +++ b/.github/actions/deploy-sdk-docker-compose/action.yml @@ -68,7 +68,7 @@ runs: run: | echo "gateway_url=ow-docker-compose-${{ github.run_id }}.wlan.local" >> $GITHUB_OUTPUT echo "sec_url=ow-docker-compose-${{ github.run_id }}.wlan.local" >> $GITHUB_OUTPUT - AMI=$(aws ec2 describe-images --filters '[{"Name":"description","Values":["Canonical, Ubuntu, 20.04 LTS, amd64*"]},{"Name":"owner-id","Values":["099720109477"]}]' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text) + AMI=$(aws ec2 describe-images --filters '[{"Name":"description","Values":["Canonical, Ubuntu, 22.04 LTS, amd64*"]},{"Name":"owner-id","Values":["099720109477"]}]' --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text) INSTANCE_NAME=ow-docker-compose-${{ github.run_id }} echo "ami=${AMI}" >> $GITHUB_OUTPUT echo "instance_name=${INSTANCE_NAME}" >> $GITHUB_OUTPUT