Naush Korai
47690b2d19
Add retry logic for transient login failures
...
Adds configurable retry mechanism with basic exponential backoff to handle intermittent failures when authenticating to container registries, particularly GCP (GAR/GCR) where I'm seeing errors intermittently.
- Add retry-attempts input (default: 0 for backward compatibility, making it opt in)
- Add retry-delay input (default: 5000ms)
- Implement exponential backoff retry logic in docker login
- Chose to just write a simple retry function vs. going with a library
- Retry all errors except 5xxs
- I'm seeing intermittent 401 failures
- Add tests for retry behavior
- Update README with new input parameters
Signed-off-by: Naush Korai <naush.korai@mixpanel.com>
2026-01-30 13:46:27 -05:00
CrazyMax
7567f92a74
Add scope input to set scopes for the authentication token
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-01-13 18:00:29 +01:00
Philipp Dreimann
f6ef577545
feat: add support for AWS European Sovereign Cloud ECR registries
...
- Update ECR registry regex to match `.amazonaws.eu` domain suffix
- Add test cases for `eusc-de-east-1.amazonaws.eu` region format
Fixes : #908
Signed-off-by: Philipp Dreimann <pdreiman@amazon.de>
Tested-by: Lukas Valentin Buchmeier-Probst <lvbp@amazon.de>
2026-01-13 16:53:08 +01:00
CrazyMax
f25ff28d1c
support dual-stack for aws public ecr
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2025-08-01 14:27:31 +02:00
Timo Witte
b7f56fce8a
support new <registry-id>.dkr-ecr.<aws-region>.on.aws endpoints
...
Signed-off-by: Timo Witte <timo_witte@agilent.com>
2025-07-21 18:43:51 +02:00
CrazyMax
668190adc5
switch to Docker exec
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2024-07-22 10:41:37 +02:00
CrazyMax
0e7803459f
test: fix tests after toolkit update
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-09-09 18:16:41 +02:00
CrazyMax
dcd1f1fe0a
update generated content
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2023-04-17 02:31:57 +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
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
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
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
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
1c402b7c97
Fix tests
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2020-10-16 18:34:48 +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
a5ba64f65e
Fix tests
2020-08-21 16:33:18 +02:00
CrazyMax
e56233ce43
Add example for Azure Container Registry (ACR)
2020-08-21 16:29:54 +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