gh-ecr-push
gh-ecr-push copied to clipboard
Where 'aws cli' coming from?
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.
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;
| ^
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.
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.