breken-ai
53ae646628
use the registry host for the scoped buildx config dir
...
scopeToConfigDir joined the registry as given onto the Buildx config
dir. For a registry given as a URL this produced
config/https:/<host>/<scope>, and Buildx parses the first path element
as the registry host, so it never finds these credentials.
ECR always hits this: loginECR logs in to the proxy endpoint returned by
GetAuthorizationToken, which is a URL (https://<id>.dkr.ecr.<region>.amazonaws.com),
so a scoped ECR login wrote its credentials to a directory Buildx does
not read, and logout looked in a different directory than login wrote to.
Drop the URL scheme and trailing slashes before building the path.
Assisted-By: Claude
Signed-off-by: breken-ai <312387581+breken-ai@users.noreply.github.com>
2026-09-25 18:50:52 -07:00
CrazyMax
8305724bcf
harden buildx scoped config path handling
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-07-29 09:57:00 +02:00
CrazyMax
b58b17c30b
test: cover Docker Hub OIDC with registry-auth
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-07-24 10:37:01 +02:00
CrazyMax
48351901f8
skip empty registry-auth secret mask
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-07-03 14:12:12 +02:00
CrazyMax
7277d4d442
fix scoped Docker Hub cleanup path when registry is omitted
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-24 10:28:31 +01:00
CrazyMax
fdfb31da7c
switch to ESM and update config/test wiring
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-01 11:29:31 +01:00
CrazyMax
6585fe535d
switch from jest to vitest
...
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-01 11:22:24 +01: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
4b59a429db
update to node 16
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2022-02-28 08:29:00 +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
CrazyMax
4fd5d8ead6
Use core.getBooleanInput
...
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
2021-06-22 10:40:00 +02: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
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