Commit Graph

36 Commits

Author SHA1 Message Date
CrazyMax 0b2ed364aa
aws: fix use @smithy/node-http-handler module
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-07-11 11:22:51 +02:00
CrazyMax af023e8f62
switch to actions-toolkit implementation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-02-24 10:16:56 +01:00
CrazyMax 07cad18854
aws: ensure temp credentials redacted in workflow logs
Just for good measure and extra safety, redact temporary
credentials when aws authorization token is retrieved using
IAM authentication credentials to access Amazon ECR.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-09-09 00:05:45 +02:00
CrazyMax 0828e0e718
dev: switch to eslint
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-03-21 10:58:19 +01:00
CrazyMax 4b59a429db
update to node 16
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-28 08:29:00 +01:00
CrazyMax caca3368ce
handle proxy settings for aws-sdk
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-16 13:53:16 +01:00
Markus Maga 58855695bb
refactor: use v3 sdk
Signed-off-by: Markus Maga <markus@maga.se>
2021-12-20 13:46:08 +01:00
CrazyMax b9a4d91ee5
ecr input to specify whether the given registry is ECR
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-12-20 10:59:20 +01:00
CrazyMax faae4d6665
ecr: switch implementation to use the AWS SDK
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-12-20 10:43:26 +01:00
Markus Maga 46ab6d5c3c
fix(ecr): use ec2 instance credentials when no credentials are provided
Signed-off-by: Markus Maga <markus@maga.se>
2021-12-06 11:28:43 +01:00
CrazyMax 73cda5dad9
Update dev deps
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-07-06 20:24:15 +02:00
CrazyMax 39efbd2c12
Use built-in `getExecOutput`
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-22 11:09:31 +02:00
CrazyMax 4fd5d8ead6
Use `core.getBooleanInput`
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-22 10:40:00 +02:00
CrazyMax 7439f8b467
Remove os limitation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-04-28 00:34:32 +02:00
CrazyMax f3364599c6
Merge pull request #40 from crazy-max/registry-ids
Handle Amazon ECR registries associated with other accounts
2020-12-18 07:41:31 +01:00
CrazyMax 24646ef465
Get AccountID from registry URL and handle ECR registry through regexp
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-17 20:22:02 +01:00
CrazyMax f53ca527f7
Fix public ECR login with AWS CLI v1
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-17 07:49:50 +01:00
CrazyMax d3160f671f
Handle Amazon ECR registries associated with other accounts
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-16 21:53:24 +01:00
CrazyMax 1e75de0e0e
Add support for public ECR
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-12-11 07:15:35 +01:00
CrazyMax 5df5104555
Handle AWS credentials
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-20 14:42:02 +02:00
CrazyMax 1c2cf9942d
Username required
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-16 18:24:41 +02:00
Bryan Clark 4b15841c41
Mostly tests and some small changes (#16)
* Create docker.test.ts
* Add context tests
* test main
2020-10-09 10:30:45 +00:00
CrazyMax 6e236fe59d
Take the password from stdin
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-09-24 20:21:04 +02:00
CrazyMax e56233ce43
Add example for Azure Container Registry (ACR) 2020-08-21 16:29:54 +02:00
CrazyMax d833f7c2ad
Handle AWS CLI v2 2020-08-21 15:27:22 +02:00
CrazyMax 16d491f0ca
Fix cmd output 2020-08-21 15:07:43 +02:00
CrazyMax 04f461cc60
Fix tests 2020-08-21 14:56:11 +02:00
CrazyMax 25aa6aa30c
Check AWS CLI version
Add tests
2020-08-21 14:45:16 +02:00
CrazyMax 2c57607524
Refactor 2020-08-20 16:40:33 +02:00
CrazyMax 26618cd0df
Retrieve command 2020-08-20 16:24:35 +02:00
CrazyMax da3da99964
Builtin exec 2020-08-20 16:14:02 +02:00
CrazyMax b7cd11b1fa
Unsilent 2020-08-20 16:12:46 +02:00
CrazyMax 16b2f90c24
Display AWS CLI version 2020-08-20 16:10:17 +02:00
CrazyMax 826c451920
Log AWS region 2020-08-20 16:03:38 +02:00
CrazyMax f37c715508
Add support for AWS Elastic Container Registry (ECR)
Add example for Google Container Registry (GCR)
2020-08-20 15:59:41 +02:00
CrazyMax a0182c1603
Initial version 2020-08-15 14:45:36 +02:00