Skip to content

Commit

Permalink
Update lib/modules/datasource/docker/ecr.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
  • Loading branch information
rarkins and viceice committed Mar 2, 2024
1 parent 2d19cdd commit 66864a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/modules/datasource/docker/ecr.ts
Expand Up @@ -6,7 +6,7 @@ import type { HttpResponse } from '../../../util/http/types';
import { regEx } from '../../../util/regex';
import { addSecretForSanitizing } from '../../../util/sanitize';

export const ecrRegex = regEx(/\d+\.dkr\.ecr(-fips)*\.([-a-z0-9]+)\.amazonaws\.com/);
export const ecrRegex = regEx(/\d+\.dkr\.ecr(?:-fips)?\.([-a-z0-9]+)\.amazonaws\.com/);
export const ecrPublicRegex = regEx(/public\.ecr\.aws/);

export async function getECRAuthToken(
Expand Down

0 comments on commit 66864a7

Please sign in to comment.