gh-ecr-push icon indicating copy to clipboard operation
gh-ecr-push copied to clipboard

Where 'aws cli' coming from?

Open atDTSystemsLtd opened this issue 3 years ago • 3 comments

As far as I understand, your action employes aws CLI. Does it (action) expect aws CLI to be installed and available prior the use of the action? I can not see any "magi" in the code which would install aws CLI. Am I missing something?

Cheers.

atDTSystemsLtd avatar Aug 30 '21 14:08 atDTSystemsLtd

It works on github action but error occured with 'act'

https://github.com/nektos/act

| $ aws sts get-caller-identity --output json --region sp-lagrange-1
| /bin/bash: aws: command not found
| child_process.js:836
|     throw err;
|     ^

archmagece avatar Sep 15 '21 05:09 archmagece

Sorry for taking so long to get back to you - we had a family emergency over here.

All of the GitHub runners come with AWS preinstalled. If you're using a custom runner, you'd have to install it yourself.

jwalton avatar Sep 15 '21 13:09 jwalton

Although... We could swap in the aws-sdk and grab the login password that way... I'm going to leave this open - I'll make this change when I get a chance.

jwalton avatar Oct 14 '22 13:10 jwalton