Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
chore(action): pin AWS CLI version (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandoataoldotcom authored Oct 19, 2023
1 parent 29e072a commit c9eac8a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit c9eac8a

Please sign in to comment.