From c9eac8aa6431cdea72d638110f78749b8ea06069 Mon Sep 17 00:00:00 2001 From: fernandoataoldotcom Date: Thu, 19 Oct 2023 16:20:20 -0600 Subject: [PATCH] chore(action): pin AWS CLI version (#15) --- action.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3ff678b..c29318b 100644 --- a/action.yml +++ b/action.yml @@ -60,6 +60,11 @@ inputs: required: false default: "us-west-2" + aws_cli_version: + description: 'Version of AWS CLI to use' + required: false + default: "2.13.20" + # docker hub dockerhub_username: @@ -80,7 +85,7 @@ runs: if: contains(inputs.registry, '.dkr.ecr.') run: | echo "::group::Installing AWS CLI..." - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" + curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64-${{ inputs.aws_cli_version }}.zip" -o "awscliv2.zip" unzip -o awscliv2.zip sudo ./aws/install --update aws --version