mirror of
https://github.com/redhat-actions/push-to-registry.git
synced 2026-11-16 19:39:34 +00:00
Replace `image.includes("amazonaws.com")` with a check for dots or
colons in the first path segment, which reliably detects any
fully-qualified registry hostname — not just AWS ECR.
Adds unit tests for getFullDockerImageName using Node's built-in test
runner.
Co-authored-by: Claude Opus 4.6 <[email protected]>
22 lines
539 B
JSON
22 lines
539 B
JSON
{
|
|
"compilerOptions": {
|
|
"target": "es2024",
|
|
"module": "preserve",
|
|
"moduleResolution": "bundler",
|
|
"lib": ["es2024"],
|
|
"outDir": "out/",
|
|
"rootDir": "src/",
|
|
"sourceMap": true,
|
|
"strict": true,
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"types": ["node"]
|
|
},
|
|
"include": ["src/"],
|
|
"exclude": ["src/**/*.test.ts"]
|
|
}
|